#9F71CA#9F71CA

#9F71CA is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.137 H 306.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9F71CA
RGBrgb(159, 113, 202)
HSLhsl(271, 46%, 62%)
HSVhsv(271, 44%, 79%)
CMYKcmyk(21.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(55.53, 35.35, -39.51)
CIE-LCHlch(55.53, 53.02, 311.82°)
OKLaboklab(63.1% 0.0821 -0.1101)
OKLCHoklch(63.1% 0.137 306.7)
XYZxyz(30.8617, 23.4457, 58.7653)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71CA #9CCA71
analogous
#7371CA #9F71CA #CA71C9
triadic
#9F71CA #CA9F71 #71CA9F
tetradic
#9F71CA #CA7371 #9CCA71 #71C9CA
square
#9F71CA #CA7371 #9CCA71 #71C9CA
split-complementary
#9F71CA #C9CA71 #71CA73
monochromatic
#62348C #8145B9 #9F71CA #BD9EDB #DBCAEB

Accessibility & contrast

On white

3.69
#9F71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#9F71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71CA#FFFFFF#000000##000000
##9F71CA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6785C8
Tritanopia (blue-blind)
#997F94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9f71ca;
/* rgb */ color: rgb(159, 113, 202);
/* oklch */ color: oklch(63.1% 0.137 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd9ada',
    500: '#9f71ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f71ca;
$custom-light: #bd9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71ca",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 271.011,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63101,
    "c": 0.13732,
    "h": 306.7
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#9F71CA
secondary
#CBDCBB
accent
#B92D70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9F71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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