#B062A8

Closest named color: Soft Purple (#A66FB5). oklch(60.9% 0.135 330.9), rgb(176, 98, 168).

Aa

Black text reads best on this color (5.15:1).

About this color

#B062A8 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.135 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.035 away. Black text reads best on it, at 5.15:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.15:1
White text4.07:1

Values

HEX#B062A8
RGBrgb(176, 98, 168)
HSLhsl(306, 33%, 54%)
OKLCHoklch(60.9% 0.135 330.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B062A8 4.07:1 AA large text Lc -73.1 Content text, not long reading
Black text on #B062A8 5.15:1 AA Lc 36.5 Non-text elements, placeholder text
#B062A8 text on white 4.07:1 AA large text Lc 67.6 Content text, not long reading
#B062A8 text on black 5.15:1 AA Lc -34.1 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D5

    oklch(81% 0.066 330.3)

  5. Step 400

    400

    #C788BF

    oklch(70.8% 0.106 331.2)

  6. Step 500

    500 (this color)

    #B062A8

    oklch(60.9% 0.135 330.9)

  7. Step 600

    600

    #A24E9A

    oklch(55.5% 0.147 331)

  8. Step 700

    700

    #8B3F84

    oklch(49.2% 0.136 331)

  9. Step 800

    800

    #71346B

    oklch(42.7% 0.114 331.2)

  10. Step 900

    900

    #5B2E57

    oklch(37.6% 0.088 330.5)

  11. Step 950

    950

    #361B33

    oklch(27% 0.057 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#B062A8 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5F77AA0.133
Deuteranopia (no green cones)#7482A60.120
Tritanopia (no blue cones)#B6687D0.073
Achromatopsia (no color)#7E7E7E0.136

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B062A8

    #B062A8

    oklch(60.9% 0.135 330.9)

  • #379957

    #379957

    oklch(60.9% 0.135 151)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B062A8

    #B062A8

    oklch(60.9% 0.135 330.9)

  • #916EC7

    #916EC7

    oklch(61% 0.135 300.6)

  • #C25C7E

    #C25C7E

    oklch(60.8% 0.135 0.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B062A8

    #B062A8

    oklch(60.9% 0.135 330.9)

  • #788E1E

    #788E1E

    oklch(60.9% 0.134 120.6)

  • #009887

    #009887

    oklch(61% 0.11 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B062A8

    #B062A8

    oklch(60.9% 0.135 330.9)

  • #9F7F00

    #9F7F00

    oklch(61% 0.125 91)

  • #0093A7

    #0093A7

    oklch(60.8% 0.106 211.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B062A8

    #B062A8

    oklch(60.9% 0.135 330.9)

  • #BC6D15

    #BC6D15

    oklch(61% 0.135 61)

  • #379957

    #379957

    oklch(60.9% 0.135 151)

  • #188BCC

    #188BCC

    oklch(60.9% 0.136 241.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B062A8, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B062A8 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.