#9F71CD#9F71CD

#9F71CD is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.141 H 305.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F71CD
RGBrgb(159, 113, 205)
HSLhsl(270, 48%, 62%)
HSVhsv(270, 45%, 80%)
CMYKcmyk(22.4%, 44.9%, 0%, 19.6%)
CIE-LABlab(55.67, 36.05, -40.99)
CIE-LCHlch(55.67, 54.58, 311.33°)
OKLaboklab(63.26% 0.0826 -0.1144)
OKLCHoklch(63.26% 0.141 305.8)
XYZxyz(31.2204, 23.5892, 60.6542)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71CD #9FCD71
analogous
#7171CD #9F71CD #CD71CD
triadic
#9F71CD #CD9F71 #71CD9F
tetradic
#9F71CD #CD7171 #9FCD71 #71CDCD
square
#9F71CD #CD7171 #9FCD71 #71CDCD
split-complementary
#9F71CD #CDCD71 #71CD71
monochromatic
#623391 #8044BD #9F71CD #BE9EDD #DCCCED

Accessibility & contrast

On white

3.67
#9F71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9F71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71CD#FFFFFF#000000##000000
##9F71CD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#988095
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9f71cd;
/* rgb */ color: rgb(159, 113, 205);
/* oklch */ color: oklch(63.3% 0.141 305.8);
Tailwind
colors: {
  custom: {
    50: '#bd9bdc',
    500: '#9f71cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f71cd;
$custom-light: #bd9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71cd",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.14106,
    "h": 305.8
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#9F71CD
secondary
#CDDEBC
accent
#BB2A73
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9F71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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