#9D64CB#9D64CB

#9D64CB is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.159 H 307.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9D64CB
RGBrgb(157, 100, 203)
HSLhsl(273, 50%, 59%)
HSVhsv(273, 51%, 80%)
CMYKcmyk(22.7%, 50.7%, 0%, 20.4%)
CIE-LABlab(52.50, 42.26, -44.87)
CIE-LCHlch(52.50, 61.64, 313.28°)
OKLaboklab(60.81% 0.0979 -0.1257)
OKLCHoklch(60.81% 0.159 307.9)
XYZxyz(29.2392, 20.5946, 58.9232)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64CB #92CB64
analogous
#6A64CB #9D64CB #CB64C5
triadic
#9D64CB #CB9D64 #64CB9D
tetradic
#9D64CB #CB6A64 #92CB64 #64C5CB
square
#9D64CB #CB6A64 #92CB64 #64C5CB
split-complementary
#9D64CB #C5CB64 #64CB6A
monochromatic
#5F2D87 #7F3DB5 #9D64CB #BA92DA #D7C0EA

Accessibility & contrast

On white

4.10
#9D64CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9D64CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64CB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64CB#FFFFFF#000000##000000
##9D64CB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#96768E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d64cb;
/* rgb */ color: rgb(157, 100, 203);
/* oklch */ color: oklch(60.8% 0.159 307.9);
Tailwind
colors: {
  custom: {
    50: '#bc92db',
    500: '#9d64cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d64cb;
$custom-light: #bc92db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64cb",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 273.204,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.15929,
    "h": 307.9
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#9D64CB
secondary
#C3D9B1
accent
#D94F8C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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