#B062DB#B062DB

#B062DB is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.5% C 0.187 H 312.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B062DB
RGBrgb(176, 98, 219)
HSLhsl(279, 63%, 62%)
HSVhsv(279, 55%, 86%)
CMYKcmyk(19.6%, 55.3%, 0%, 14.1%)
CIE-LABlab(55.16, 51.87, -49.61)
CIE-LCHlch(55.16, 71.78, 316.27°)
OKLaboklab(63.53% 0.1252 -0.139)
OKLCHoklch(63.53% 0.187 312)
XYZxyz(35.0561, 23.0808, 69.6124)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B062DB #8DDB62
analogous
#7462DB #B062DB #DB62C9
triadic
#B062DB #DBB062 #62DBB0
tetradic
#B062DB #DB7462 #8DDB62 #62C9DB
square
#B062DB #DB7462 #8DDB62 #62C9DB
split-complementary
#B062DB #C9DB62 #62DB74
monochromatic
#73249E #9730D0 #B062DB #C994E6 #E2C6F2

Accessibility & contrast

On white

3.74
#B062DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B062DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B062DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B062DB#FFFFFF#000000##000000
##B062DB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80DF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#AB7795
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b062db;
/* rgb */ color: rgb(176, 98, 219);
/* oklch */ color: oklch(63.5% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#ca92e7',
    500: '#b062db',
    950: '#000000',
  },
}
SCSS
$custom: #b062db;
$custom-light: #ca92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b062db",
  "rgb": {
    "r": 176,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 278.678,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63532,
    "c": 0.18705,
    "h": 312
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#B062DB
secondary
#C6E3B6
accent
#CA1B59
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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