#9F71CF#9F71CF

#9F71CF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.144 H 305.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F71CF
RGBrgb(159, 113, 207)
HSLhsl(269, 49%, 63%)
HSVhsv(269, 45%, 81%)
CMYKcmyk(23.2%, 45.4%, 0%, 18.8%)
CIE-LABlab(55.77, 36.52, -41.97)
CIE-LCHlch(55.77, 55.63, 311.03°)
OKLaboklab(63.36% 0.0828 -0.1172)
OKLCHoklch(63.36% 0.144 305.2)
XYZxyz(31.4633, 23.6864, 61.9338)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71CF #A1CF71
analogous
#7172CF #9F71CF #CE71CF
triadic
#9F71CF #CF9F71 #71CF9F
tetradic
#9F71CF #CF7172 #A1CF71 #71CFCE
square
#9F71CF #CF7172 #A1CF71 #71CFCE
split-complementary
#9F71CF #CFCE71 #72CF71
monochromatic
#623294 #8043C0 #9F71CF #BE9FDE #DDCCEE

Accessibility & contrast

On white

3.66
#9F71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9F71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71CF#FFFFFF#000000##000000
##9F71CF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#978196
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f71cf;
/* rgb */ color: rgb(159, 113, 207);
/* oklch */ color: oklch(63.4% 0.144 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd9bde',
    500: '#9f71cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f71cf;
$custom-light: #bd9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71cf",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 269.362,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63363,
    "c": 0.14355,
    "h": 305.2
  },
  "luminance": 0.23686
}

Semantic roles & 50–950 ramp

primary
#9F71CF
secondary
#CEDFBD
accent
#BD2974
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9F71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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