#B064DB#B064DB

#B064DB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.184 H 311.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B064DB
RGBrgb(176, 100, 219)
HSLhsl(278, 62%, 63%)
HSVhsv(278, 54%, 86%)
CMYKcmyk(19.6%, 54.3%, 0%, 14.1%)
CIE-LABlab(55.54, 50.84, -49.00)
CIE-LCHlch(55.54, 70.61, 316.06°)
OKLaboklab(63.82% 0.1226 -0.1372)
OKLCHoklch(63.82% 0.184 311.8)
XYZxyz(35.2456, 23.4597, 69.6756)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064DB #8FDB64
analogous
#7464DB #B064DB #DB64CB
triadic
#B064DB #DBB064 #64DBB0
tetradic
#B064DB #DB7464 #8FDB64 #64CBDB
square
#B064DB #DB7464 #8FDB64 #64CBDB
split-complementary
#B064DB #CBDB64 #64DB74
monochromatic
#7325A0 #9732CF #B064DB #C996E7 #E3C7F2

Accessibility & contrast

On white

3.69
#B064DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B064DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064DB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064DB#FFFFFF#000000##000000
##B064DB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#5C87D8
Tritanopia (blue-blind)
#AB7896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b064db;
/* rgb */ color: rgb(176, 100, 219);
/* oklch */ color: oklch(63.8% 0.184 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca93e7',
    500: '#b064db',
    950: '#000000',
  },
}
SCSS
$custom: #b064db;
$custom-light: #ca93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b064db",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 278.319,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63816,
    "c": 0.18398,
    "h": 311.8
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#B064DB
secondary
#C7E3B8
accent
#CA1B5B
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B064DB

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

Preview Lab → · Contrast checker → · Palette generator →

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