#9B64DF#9B64DF

#9B64DF is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.182 H 302.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9B64DF
RGBrgb(155, 100, 223)
HSLhsl(267, 66%, 63%)
HSVhsv(267, 55%, 87%)
CMYKcmyk(30.5%, 55.2%, 0%, 12.5%)
CIE-LABlab(53.40, 46.49, -54.82)
CIE-LCHlch(53.40, 71.88, 310.30°)
OKLaboklab(61.78% 0.0966 -0.1548)
OKLCHoklch(61.78% 0.182 302)
XYZxyz(31.3910, 21.4106, 72.2766)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64DF #A8DF64
analogous
#646ADF #9B64DF #D864DF
triadic
#9B64DF #DF9B64 #64DF9B
tetradic
#9B64DF #DF646A #A8DF64 #64DFD8
square
#9B64DF #DF646A #A8DF64 #64DFD8
split-complementary
#9B64DF #DFD864 #6ADF64
monochromatic
#5D22A6 #7A31D5 #9B64DF #BC97E9 #DCC9F4

Accessibility & contrast

On white

3.98
#9B64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9B64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B64DF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B64DF#FFFFFF#000000##000000
##9B64DF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#467FDC
Tritanopia (blue-blind)
#8E7C98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b64df;
/* rgb */ color: rgb(155, 100, 223);
/* oklch */ color: oklch(61.8% 0.182 302.0);
Tailwind
colors: {
  custom: {
    50: '#bc92ea',
    500: '#9b64df',
    950: '#000000',
  },
}
SCSS
$custom: #9b64df;
$custom-light: #bc92ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64df",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 266.829,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.18249,
    "h": 302
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#9B64DF
secondary
#D2E5B9
accent
#CE187C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B64DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9B64DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva