#B062CB#B062CB

#B062CB is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.6% C 0.170 H 316.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B062CB
RGBrgb(176, 98, 203)
HSLhsl(285, 50%, 59%)
HSVhsv(285, 52%, 80%)
CMYKcmyk(13.3%, 51.7%, 0%, 20.4%)
CIE-LABlab(54.32, 48.49, -41.85)
CIE-LCHlch(54.32, 64.05, 319.20°)
OKLaboklab(62.65% 0.1239 -0.1164)
OKLCHoklch(62.65% 0.17 316.8)
XYZxyz(33.0501, 22.2784, 59.0475)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062CB #7DCB62
analogous
#7C62CB #B062CB #CB62B2
triadic
#B062CB #CBB062 #62CBB0
tetradic
#B062CB #CB7C62 #7DCB62 #62B2CB
square
#B062CB #CB7C62 #7DCB62 #62B2CB
split-complementary
#B062CB #B2CB62 #62CB7C
monochromatic
#6F2C86 #953CB4 #B062CB #C790DA #DEBEE9

Accessibility & contrast

On white

3.85
#B062CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B062CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062CB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062CB#FFFFFF#000000##000000
##B062CB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#AF728D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b062cb;
/* rgb */ color: rgb(176, 98, 203);
/* oklch */ color: oklch(62.6% 0.170 316.8);
Tailwind
colors: {
  custom: {
    50: '#ca91db',
    500: '#b062cb',
    950: '#000000',
  },
}
SCSS
$custom: #b062cb;
$custom-light: #ca91db;
$custom-dark: #000000;
JSON
{
  "hex": "#b062cb",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 284.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62647,
    "c": 0.17001,
    "h": 316.8
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#B062CB
secondary
#BAD9B0
accent
#DA4E72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B062CB

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

Preview Lab → · Contrast checker → · Palette generator →

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