#B062C8#B062C8

#B062C8 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.5% C 0.167 H 317.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B062C8
RGBrgb(176, 98, 200)
HSLhsl(286, 48%, 58%)
HSVhsv(286, 51%, 78%)
CMYKcmyk(12%, 51%, 0%, 21.6%)
CIE-LABlab(54.17, 47.88, -40.38)
CIE-LCHlch(54.17, 62.63, 319.86°)
OKLaboklab(62.49% 0.1236 -0.1121)
OKLCHoklch(62.49% 0.167 317.8)
XYZxyz(32.6961, 22.1367, 57.1829)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062C8 #7AC862
analogous
#7D62C8 #B062C8 #C862AD
triadic
#B062C8 #C8B062 #62C8B0
tetradic
#B062C8 #C87D62 #7AC862 #62ADC8
square
#B062C8 #C87D62 #7AC862 #62ADC8
split-complementary
#B062C8 #ADC862 #62C87D
monochromatic
#6E2E82 #953DAF #B062C8 #C78FD8 #DEBDE8

Accessibility & contrast

On white

3.87
#B062C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B062C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062C8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062C8#FFFFFF#000000##000000
##B062C81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#6684C5
Tritanopia (blue-blind)
#B0718C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b062c8;
/* rgb */ color: rgb(176, 98, 200);
/* oklch */ color: oklch(62.5% 0.167 317.8);
Tailwind
colors: {
  custom: {
    50: '#ca91d9',
    500: '#b062c8',
    950: '#000000',
  },
}
SCSS
$custom: #b062c8;
$custom-light: #ca91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b062c8",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 285.882,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.16686,
    "h": 317.8
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#B062C8
secondary
#B8D7AF
accent
#D85070
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B062C8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B062C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva