#B064DC#B064DC

#B064DC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.185 H 311.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B064DC
RGBrgb(176, 100, 220)
HSLhsl(278, 63%, 63%)
HSVhsv(278, 55%, 86%)
CMYKcmyk(20%, 54.5%, 0%, 13.7%)
CIE-LABlab(55.60, 51.06, -49.48)
CIE-LCHlch(55.60, 71.10, 315.90°)
OKLaboklab(63.87% 0.1226 -0.1386)
OKLCHoklch(63.87% 0.185 311.5)
XYZxyz(35.3776, 23.5125, 70.3710)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064DC #90DC64
analogous
#7464DC #B064DC #DC64CC
triadic
#B064DC #DCB064 #64DCB0
tetradic
#B064DC #DC7464 #90DC64 #64CCDC
square
#B064DC #DC7464 #90DC64 #64CCDC
split-complementary
#B064DC #CCDC64 #64DC74
monochromatic
#7324A1 #9732D1 #B064DC #C996E7 #E3C8F3

Accessibility & contrast

On white

3.68
#B064DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B064DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064DC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064DC#FFFFFF#000000##000000
##B064DC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#AB7997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b064dc;
/* rgb */ color: rgb(176, 100, 220);
/* oklch */ color: oklch(63.9% 0.185 311.5);
Tailwind
colors: {
  custom: {
    50: '#ca93e7',
    500: '#b064dc',
    950: '#000000',
  },
}
SCSS
$custom: #b064dc;
$custom-light: #ca93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b064dc",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 278,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.18507,
    "h": 311.5
  },
  "luminance": 0.23512
}

Semantic roles & 50–950 ramp

primary
#B064DC
secondary
#C8E4B8
accent
#CB1B5B
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B064DC

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

Preview Lab → · Contrast checker → · Palette generator →

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