#9F64CD#9F64CD

#9F64CD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.162 H 308.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9F64CD
RGBrgb(159, 100, 205)
HSLhsl(274, 51%, 60%)
HSVhsv(274, 51%, 80%)
CMYKcmyk(22.4%, 51.2%, 0%, 19.6%)
CIE-LABlab(52.83, 43.26, -45.48)
CIE-LCHlch(52.83, 62.76, 313.57°)
OKLaboklab(61.14% 0.1005 -0.1274)
OKLCHoklch(61.14% 0.162 308.3)
XYZxyz(29.8725, 20.8934, 60.2049)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64CD #92CD64
analogous
#6A64CD #9F64CD #CD64C7
triadic
#9F64CD #CD9F64 #64CD9F
tetradic
#9F64CD #CD6A64 #92CD64 #64C7CD
square
#9F64CD #CD6A64 #92CD64 #64C7CD
split-complementary
#9F64CD #C7CD64 #64CD6A
monochromatic
#612D8A #823BB8 #9F64CD #BC92DC #D8C1EB

Accessibility & contrast

On white

4.06
#9F64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9F64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64CD#FFFFFF#000000##000000
##9F64CD1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#99768F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f64cd;
/* rgb */ color: rgb(159, 100, 205);
/* oklch */ color: oklch(61.1% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#be92dd',
    500: '#9f64cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f64cd;
$custom-light: #be92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64cd",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 273.714,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6114,
    "c": 0.16229,
    "h": 308.3
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#9F64CD
secondary
#C4DBB2
accent
#DB4D8B
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9F64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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