#B062DC#B062DC

#B062DC is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.6% C 0.188 H 311.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B062DC
RGBrgb(176, 98, 220)
HSLhsl(278, 64%, 62%)
HSVhsv(278, 55%, 86%)
CMYKcmyk(20%, 55.5%, 0%, 13.7%)
CIE-LABlab(55.21, 52.08, -50.09)
CIE-LCHlch(55.21, 72.26, 316.12°)
OKLaboklab(63.59% 0.1252 -0.1404)
OKLCHoklch(63.59% 0.188 311.7)
XYZxyz(35.1881, 23.1336, 70.3078)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062DC #8EDC62
analogous
#7362DC #B062DC #DC62CB
triadic
#B062DC #DCB062 #62DCB0
tetradic
#B062DC #DC7362 #8EDC62 #62CBDC
square
#B062DC #DC7362 #8EDC62 #62CBDC
split-complementary
#B062DC #CBDC62 #62DC73
monochromatic
#7324A0 #9730D1 #B062DC #C994E7 #E2C6F2

Accessibility & contrast

On white

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

On black

5.63
#B062DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062DC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062DC#FFFFFF#000000##000000
##B062DC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#AB7796
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b062dc;
/* rgb */ color: rgb(176, 98, 220);
/* oklch */ color: oklch(63.6% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#ca92e7',
    500: '#b062dc',
    950: '#000000',
  },
}
SCSS
$custom: #b062dc;
$custom-light: #ca92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b062dc",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 278.361,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.18812,
    "h": 311.7
  },
  "luminance": 0.23133
}

Semantic roles & 50–950 ramp

primary
#B062DC
secondary
#C7E3B7
accent
#CB1A5A
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062DC

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

Preview Lab → · Contrast checker → · Palette generator →

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