#B062CA#B062CA

#B062CA is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.169 H 317.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B062CA
RGBrgb(176, 98, 202)
HSLhsl(285, 50%, 59%)
HSVhsv(285, 51%, 79%)
CMYKcmyk(12.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(54.27, 48.29, -41.36)
CIE-LCHlch(54.27, 63.58, 319.42°)
OKLaboklab(62.59% 0.1238 -0.115)
OKLCHoklch(62.59% 0.169 317.1)
XYZxyz(32.9313, 22.2308, 58.4219)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062CA #7CCA62
analogous
#7C62CA #B062CA #CA62B0
triadic
#B062CA #CAB062 #62CAB0
tetradic
#B062CA #CA7C62 #7CCA62 #62B0CA
square
#B062CA #CA7C62 #7CCA62 #62B0CA
split-complementary
#B062CA #B0CA62 #62CA7C
monochromatic
#6F2D85 #953CB3 #B062CA #C790D9 #DEBEE9

Accessibility & contrast

On white

3.86
#B062CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B062CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062CA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062CA#FFFFFF#000000##000000
##B062CA1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#6584C7
Tritanopia (blue-blind)
#AF728D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b062ca;
/* rgb */ color: rgb(176, 98, 202);
/* oklch */ color: oklch(62.6% 0.169 317.1);
Tailwind
colors: {
  custom: {
    50: '#ca91da',
    500: '#b062ca',
    950: '#000000',
  },
}
SCSS
$custom: #b062ca;
$custom-light: #ca91da;
$custom-dark: #000000;
JSON
{
  "hex": "#b062ca",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 285,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.16896,
    "h": 317.1
  },
  "luminance": 0.2223
}

Semantic roles & 50–950 ramp

primary
#B062CA
secondary
#BAD8AF
accent
#D94F71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B062CA

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

Preview Lab → · Contrast checker → · Palette generator →

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