#B062DD#B062DD

#B062DD is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.189 H 311.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B062DD
RGBrgb(176, 98, 221)
HSLhsl(278, 64%, 63%)
HSVhsv(278, 56%, 87%)
CMYKcmyk(20.4%, 55.7%, 0%, 13.3%)
CIE-LABlab(55.26, 52.30, -50.57)
CIE-LCHlch(55.26, 72.75, 315.96°)
OKLaboklab(63.65% 0.1253 -0.1418)
OKLCHoklch(63.65% 0.189 311.5)
XYZxyz(35.3210, 23.1867, 71.0074)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062DD #8FDD62
analogous
#7362DD #B062DD #DD62CC
triadic
#B062DD #DDB062 #62DDB0
tetradic
#B062DD #DD7362 #8FDD62 #62CCDD
square
#B062DD #DD7362 #8FDD62 #62CCDD
split-complementary
#B062DD #CCDD62 #62DD73
monochromatic
#7323A2 #9730D2 #B062DD #C994E8 #E3C7F3

Accessibility & contrast

On white

3.73
#B062DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B062DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062DD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062DD#FFFFFF#000000##000000
##B062DD1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#AB7896
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b062dd;
/* rgb */ color: rgb(176, 98, 221);
/* oklch */ color: oklch(63.6% 0.189 311.5);
Tailwind
colors: {
  custom: {
    50: '#ca92e8',
    500: '#b062dd',
    950: '#000000',
  },
}
SCSS
$custom: #b062dd;
$custom-light: #ca92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b062dd",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 278.049,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63647,
    "c": 0.18919,
    "h": 311.5
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#B062DD
secondary
#C7E4B7
accent
#CC195B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062DD

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

Preview Lab → · Contrast checker → · Palette generator →

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