#B64FD2#B64FD2

#B64FD2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.208 H 318.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B64FD2
RGBrgb(182, 79, 210)
HSLhsl(287, 59%, 57%)
HSVhsv(287, 62%, 82%)
CMYKcmyk(13.3%, 62.4%, 0%, 17.6%)
CIE-LABlab(52.05, 60.62, -49.40)
CIE-LCHlch(52.05, 78.20, 320.83°)
OKLaboklab(61.27% 0.1558 -0.1381)
OKLCHoklch(61.27% 0.208 318.4)
XYZxyz(33.7187, 20.1916, 63.0815)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B64FD2 #6BD24F
analogous
#754FD2 #B64FD2 #D24FAC
triadic
#B64FD2 #D2B64F #4FD2B6
tetradic
#B64FD2 #D2754F #6BD24F #4FACD2
square
#B64FD2 #D2754F #6BD24F #4FACD2
split-complementary
#B64FD2 #ACD24F #4FD275
monochromatic
#702285 #992EB5 #B64FD2 #CA80DE #DEB0EB

Accessibility & contrast

On white

4.17
#B64FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B64FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B64FD2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B64FD2#FFFFFF#000000##000000
##B64FD21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#5680CF
Tritanopia (blue-blind)
#B66589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b64fd2;
/* rgb */ color: rgb(182, 79, 210);
/* oklch */ color: oklch(61.3% 0.208 318.4);
Tailwind
colors: {
  custom: {
    50: '#cf87e0',
    500: '#b64fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b64fd2;
$custom-light: #cf87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b64fd2",
  "rgb": {
    "r": 182,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 287.176,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.20817,
    "h": 318.4
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#B64FD2
secondary
#AFD9A4
accent
#E24567
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B64FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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