#B062CC#B062CC

#B062CC is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.7% C 0.171 H 316.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B062CC
RGBrgb(176, 98, 204)
HSLhsl(284, 51%, 59%)
HSVhsv(284, 52%, 80%)
CMYKcmyk(13.7%, 52%, 0%, 20%)
CIE-LABlab(54.37, 48.70, -42.34)
CIE-LCHlch(54.37, 64.53, 318.99°)
OKLaboklab(62.7% 0.124 -0.1178)
OKLCHoklch(62.7% 0.171 316.5)
XYZxyz(33.1696, 22.3262, 59.6771)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062CC #7ECC62
analogous
#7B62CC #B062CC #CC62B3
triadic
#B062CC #CCB062 #62CCB0
tetradic
#B062CC #CC7B62 #7ECC62 #62B3CC
square
#B062CC #CC7B62 #7ECC62 #62B3CC
split-complementary
#B062CC #B3CC62 #62CC7B
monochromatic
#6F2C88 #953BB6 #B062CC #C790DB #DEBEEA

Accessibility & contrast

On white

3.84
#B062CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B062CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062CC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062CC#FFFFFF#000000##000000
##B062CC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#AF728E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b062cc;
/* rgb */ color: rgb(176, 98, 204);
/* oklch */ color: oklch(62.7% 0.171 316.5);
Tailwind
colors: {
  custom: {
    50: '#ca91dc',
    500: '#b062cc',
    950: '#000000',
  },
}
SCSS
$custom: #b062cc;
$custom-light: #ca91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b062cc",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 284.151,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.627,
    "c": 0.17107,
    "h": 316.5
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#B062CC
secondary
#BBDAB0
accent
#DA4D73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B062CC

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

Preview Lab → · Contrast checker → · Palette generator →

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