#B864CD#B864CD

#B864CD is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.173 H 319.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B864CD
RGBrgb(184, 100, 205)
HSLhsl(288, 51%, 60%)
HSVhsv(288, 51%, 80%)
CMYKcmyk(10.2%, 51.2%, 0%, 19.6%)
CIE-LABlab(55.80, 50.06, -40.59)
CIE-LCHlch(55.80, 64.45, 320.96°)
OKLaboklab(63.98% 0.131 -0.1126)
OKLCHoklch(63.98% 0.173 319.3)
XYZxyz(35.3424, 23.7138, 60.4613)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864CD #79CD64
analogous
#8464CD #B864CD #CD64AE
triadic
#B864CD #CDB864 #64CDB8
tetradic
#B864CD #CD8464 #79CD64 #64AECD
square
#B864CD #CD8464 #79CD64 #64AECD
split-complementary
#B864CD #AECD64 #64CD84
monochromatic
#772D8A #9F3BB8 #B864CD #CD92DC #E2C1EB

Accessibility & contrast

On white

3.66
#B864CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B864CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864CD#FFFFFF#000000##000000
##B864CD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#6B89CA
Tritanopia (blue-blind)
#B9738F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b864cd;
/* rgb */ color: rgb(184, 100, 205);
/* oklch */ color: oklch(64.0% 0.173 319.3);
Tailwind
colors: {
  custom: {
    50: '#cf93dc',
    500: '#b864cd',
    950: '#000000',
  },
}
SCSS
$custom: #b864cd;
$custom-light: #cf93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b864cd",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 288,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63984,
    "c": 0.17271,
    "h": 319.3
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

primary
#B864CD
secondary
#BADBB2
accent
#DB4D69
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B864CD

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

Preview Lab → · Contrast checker → · Palette generator →

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