#B64CD5#B64CD5

#B64CD5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.215 H 317.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B64CD5
RGBrgb(182, 76, 213)
HSLhsl(286, 62%, 57%)
HSVhsv(286, 64%, 84%)
CMYKcmyk(14.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(51.75, 62.52, -51.60)
CIE-LCHlch(51.75, 81.06, 320.47°)
OKLaboklab(61.11% 0.1592 -0.1445)
OKLCHoklch(61.11% 0.215 317.8)
XYZxyz(33.8844, 19.9195, 64.9979)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64CD5 #6BD54C
analogous
#724CD5 #B64CD5 #D54CB0
triadic
#B64CD5 #D5B64C #4CD5B6
tetradic
#B64CD5 #D5724C #6BD54C #4CB0D5
square
#B64CD5 #D5724C #6BD54C #4CB0D5
split-complementary
#B64CD5 #B0D54C #4CD572
monochromatic
#702087 #992BB9 #B64CD5 #CA7EE1 #DEAFEC

Accessibility & contrast

On white

4.21
#B64CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B64CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64CD5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64CD5#FFFFFF#000000##000000
##B64CD51.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B75D9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#B5658A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b64cd5;
/* rgb */ color: rgb(182, 76, 213);
/* oklch */ color: oklch(61.1% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#cf85e2',
    500: '#b64cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b64cd5;
$custom-light: #cf85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b64cd5",
  "rgb": {
    "r": 182,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 286.423,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.21501,
    "h": 317.8
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#B64CD5
secondary
#AFDAA2
accent
#E54367
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B64CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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