#9F5DF3#9F5DF3

#9F5DF3 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.216 H 300.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9F5DF3
RGBrgb(159, 93, 243)
HSLhsl(266, 86%, 66%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(34.6%, 61.7%, 0%, 4.7%)
CIE-LABlab(53.68, 55.95, -65.56)
CIE-LCHlch(53.68, 86.19, 310.48°)
OKLaboklab(62.48% 0.1097 -0.1862)
OKLCHoklch(62.48% 0.216 300.5)
XYZxyz(34.3862, 21.6705, 87.1479)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5DF3 #B1F35D
analogous
#5D66F3 #9F5DF3 #EA5DF3
triadic
#9F5DF3 #F39F5D #5DF39F
tetradic
#9F5DF3 #F35D66 #B1F35D #5DF3EA
square
#9F5DF3 #F35D66 #B1F35D #5DF3EA
split-complementary
#9F5DF3 #F3EA5D #66F35D
monochromatic
#600FC7 #7D24EF #9F5DF3 #C196F7 #E3CFFB

Accessibility & contrast

On white

3.94
#9F5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9F5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5DF3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5DF3#FFFFFF#000000##000000
##9F5DF31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#247FF0
Tritanopia (blue-blind)
#8D7EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5df3;
/* rgb */ color: rgb(159, 93, 243);
/* oklch */ color: oklch(62.5% 0.216 300.5);
Tailwind
colors: {
  custom: {
    50: '#c08ef8',
    500: '#9f5df3',
    950: '#000000',
  },
}
SCSS
$custom: #9f5df3;
$custom-light: #c08ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5df3",
  "rgb": {
    "r": 159,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 266.4,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62477,
    "c": 0.21615,
    "h": 300.5
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#9F5DF3
secondary
#D9EFBD
accent
#E30380
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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