#9F64CB#9F64CB

#9F64CB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.160 H 308.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9F64CB
RGBrgb(159, 100, 203)
HSLhsl(274, 50%, 59%)
HSVhsv(274, 51%, 80%)
CMYKcmyk(21.7%, 50.7%, 0%, 20.4%)
CIE-LABlab(52.73, 42.80, -44.50)
CIE-LCHlch(52.73, 61.74, 313.88°)
OKLaboklab(61.03% 0.1003 -0.1246)
OKLCHoklch(61.03% 0.16 308.9)
XYZxyz(29.6327, 20.7975, 58.9416)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64CB #90CB64
analogous
#6C64CB #9F64CB #CB64C3
triadic
#9F64CB #CB9F64 #64CB9F
tetradic
#9F64CB #CB6C64 #90CB64 #64C3CB
square
#9F64CB #CB6C64 #90CB64 #64C3CB
split-complementary
#9F64CB #C3CB64 #64CB6C
monochromatic
#612D87 #823DB5 #9F64CB #BB92DA #D8C0EA

Accessibility & contrast

On white

4.07
#9F64CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9F64CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64CB#FFFFFF#000000##000000
##9F64CB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#597FC8
Tritanopia (blue-blind)
#99768E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f64cb;
/* rgb */ color: rgb(159, 100, 203);
/* oklch */ color: oklch(61.0% 0.160 308.9);
Tailwind
colors: {
  custom: {
    50: '#be92db',
    500: '#9f64cb',
    950: '#000000',
  },
}
SCSS
$custom: #9f64cb;
$custom-light: #be92db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64cb",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 274.369,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.15995,
    "h": 308.9
  },
  "luminance": 0.20797
}

Semantic roles & 50–950 ramp

primary
#9F64CB
secondary
#C2D9B1
accent
#D94F8A
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9F64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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