#9F5FEF#9F5FEF

#9F5FEF is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.5% C 0.209 H 301.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9F5FEF
RGBrgb(159, 95, 239)
HSLhsl(267, 82%, 65%)
HSVhsv(267, 60%, 94%)
CMYKcmyk(33.5%, 60.3%, 0%, 6.3%)
CIE-LABlab(53.80, 53.96, -63.13)
CIE-LCHlch(53.80, 83.04, 310.52°)
OKLaboklab(62.49% 0.1076 -0.1791)
OKLCHoklch(62.49% 0.209 301)
XYZxyz(33.9666, 21.7872, 84.0605)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FEF #AFEF5F
analogous
#5F67EF #9F5FEF #E75FEF
triadic
#9F5FEF #EF9F5F #5FEF9F
tetradic
#9F5FEF #EF5F67 #AFEF5F #5FEFE7
square
#9F5FEF #EF5F67 #AFEF5F #5FEFE7
split-complementary
#9F5FEF #EFE75F #67EF5F
monochromatic
#6013C0 #7E27E9 #9F5FEF #C097F5 #E2CEFA

Accessibility & contrast

On white

3.92
#9F5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9F5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FEF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FEF#FFFFFF#000000##000000
##9F5FEF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#8E7D9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f5fef;
/* rgb */ color: rgb(159, 95, 239);
/* oklch */ color: oklch(62.5% 0.209 301.0);
Tailwind
colors: {
  custom: {
    50: '#c08ff5',
    500: '#9f5fef',
    950: '#000000',
  },
}
SCSS
$custom: #9f5fef;
$custom-light: #c08ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5fef",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 266.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.20894,
    "h": 301
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#9F5FEF
secondary
#D8EDBD
accent
#DE077F
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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