#B64CD9#B64CD9

#B64CD9 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.219 H 316.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B64CD9
RGBrgb(182, 76, 217)
HSLhsl(285, 65%, 57%)
HSVhsv(285, 65%, 85%)
CMYKcmyk(16.1%, 65%, 0%, 14.9%)
CIE-LABlab(51.98, 63.31, -53.50)
CIE-LCHlch(51.98, 82.89, 319.80°)
OKLaboklab(61.35% 0.1591 -0.1501)
OKLCHoklch(61.35% 0.219 316.7)
XYZxyz(34.3984, 20.1251, 67.7047)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CD9 #6FD94C
analogous
#6F4CD9 #B64CD9 #D94CB6
triadic
#B64CD9 #D9B64C #4CD9B6
tetradic
#B64CD9 #D96F4C #6FD94C #4CB6D9
square
#B64CD9 #D96F4C #6FD94C #4CB6D9
split-complementary
#B64CD9 #B6D94C #4CD96F
monochromatic
#711E8D #9A29BF #B64CD9 #CB7EE4 #DFB1EE

Accessibility & contrast

On white

4.18
#B64CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B64CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CD9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CD9#FFFFFF#000000##000000
##B64CD91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1075DD
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#B4668C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b64cd9;
/* rgb */ color: rgb(182, 76, 217);
/* oklch */ color: oklch(61.3% 0.219 316.7);
Tailwind
colors: {
  custom: {
    50: '#cf85e5',
    500: '#b64cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b64cd9;
$custom-light: #cf85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cd9",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 285.106,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.21872,
    "h": 316.7
  },
  "luminance": 0.20124
}

Semantic roles & 50–950 ramp

primary
#B64CD9
secondary
#B2DDA4
accent
#E8406A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B64CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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