#9F66CD#9F66CD

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

Color values

HEX#9F66CD
RGBrgb(159, 102, 205)
HSLhsl(273, 51%, 60%)
HSVhsv(273, 50%, 80%)
CMYKcmyk(22.4%, 50.2%, 0%, 19.6%)
CIE-LABlab(53.26, 42.16, -44.81)
CIE-LCHlch(53.26, 61.53, 313.26°)
OKLaboklab(61.45% 0.0978 -0.1254)
OKLCHoklch(61.45% 0.159 307.9)
XYZxyz(30.0667, 21.2818, 60.2696)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F66CD #94CD66
analogous
#6B66CD #9F66CD #CD66C7
triadic
#9F66CD #CD9F66 #66CD9F
tetradic
#9F66CD #CD6B66 #94CD66 #66C7CD
square
#9F66CD #CD6B66 #94CD66 #66C7CD
split-complementary
#9F66CD #C7CD66 #66CD6B
monochromatic
#612D8B #823DB9 #9F66CD #BC94DC #D9C2EB

Accessibility & contrast

On white

4.00
#9F66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9F66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F66CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F66CD#FFFFFF#000000##000000
##9F66CD1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#987890
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f66cd;
/* rgb */ color: rgb(159, 102, 205);
/* oklch */ color: oklch(61.5% 0.159 307.9);
Tailwind
colors: {
  custom: {
    50: '#be93dd',
    500: '#9f66cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f66cd;
$custom-light: #be93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f66cd",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 273.204,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.15907,
    "h": 307.9
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#9F66CD
secondary
#C5DBB4
accent
#BE276B
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9F66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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