#9F5BE9#9F5BE9

#9F5BE9 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.208 H 302.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9F5BE9
RGBrgb(159, 91, 233)
HSLhsl(269, 76%, 64%)
HSVhsv(269, 61%, 91%)
CMYKcmyk(31.8%, 60.9%, 0%, 8.6%)
CIE-LABlab(52.66, 54.56, -61.60)
CIE-LCHlch(52.66, 82.29, 311.53°)
OKLaboklab(61.54% 0.1125 -0.1746)
OKLCHoklch(61.54% 0.208 302.8)
XYZxyz(32.7438, 20.7363, 79.3525)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5BE9 #A5E95B
analogous
#5B5EE9 #9F5BE9 #E65BE9
triadic
#9F5BE9 #E99F5B #5BE99F
tetradic
#9F5BE9 #E95B5E #A5E95B #5BE9E6
square
#9F5BE9 #E95B5E #A5E95B #5BE9E6
split-complementary
#9F5BE9 #E9E65B #5EE95B
monochromatic
#6218B2 #7F25E2 #9F5BE9 #BF91F0 #DEC7F7

Accessibility & contrast

On white

4.08
#9F5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9F5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5BE9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5BE9#FFFFFF#000000##000000
##9F5BE91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#91799A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f5be9;
/* rgb */ color: rgb(159, 91, 233);
/* oklch */ color: oklch(61.5% 0.208 302.8);
Tailwind
colors: {
  custom: {
    50: '#c08df1',
    500: '#9f5be9',
    950: '#000000',
  },
}
SCSS
$custom: #9f5be9;
$custom-light: #c08df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5be9",
  "rgb": {
    "r": 159,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 268.732,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.2077,
    "h": 302.8
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

primary
#9F5BE9
secondary
#D1E9B7
accent
#D90D77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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