#BB64D8#BB64D8

#BB64D8 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.185 H 317.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BB64D8
RGBrgb(187, 100, 216)
HSLhsl(285, 60%, 62%)
HSVhsv(285, 54%, 85%)
CMYKcmyk(13.4%, 53.7%, 0%, 15.3%)
CIE-LABlab(56.72, 53.08, -45.35)
CIE-LCHlch(56.72, 69.82, 319.49°)
OKLaboklab(64.92% 0.1356 -0.1263)
OKLCHoklch(64.92% 0.185 317)
XYZxyz(37.4436, 24.6383, 67.7357)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB64D8 #81D864
analogous
#8164D8 #BB64D8 #D864BB
triadic
#BB64D8 #D8BB64 #64D8BB
tetradic
#BB64D8 #D88164 #81D864 #64BBD8
square
#BB64D8 #D88164 #81D864 #64BBD8
split-complementary
#BB64D8 #BBD864 #64D881
monochromatic
#7E279B #A533CC #BB64D8 #D095E4 #E6C6F1

Accessibility & contrast

On white

3.54
#BB64D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BB64D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB64D8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB64D8#FFFFFF#000000##000000
##BB64D81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DC
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#BA7695
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb64d8;
/* rgb */ color: rgb(187, 100, 216);
/* oklch */ color: oklch(64.9% 0.185 317.0);
Tailwind
colors: {
  custom: {
    50: '#d294e4',
    500: '#bb64d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb64d8;
$custom-light: #d294e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb64d8",
  "rgb": {
    "r": 187,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 285,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64921,
    "c": 0.18534,
    "h": 317
  },
  "luminance": 0.24637
}

Semantic roles & 50–950 ramp

primary
#BB64D8
secondary
#C1E1B7
accent
#C71E48
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB64D8

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

Preview Lab → · Contrast checker → · Palette generator →

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