#9F5EE8#9F5EE8

#9F5EE8 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.202 H 302.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9F5EE8
RGBrgb(159, 94, 232)
HSLhsl(268, 75%, 64%)
HSVhsv(268, 59%, 91%)
CMYKcmyk(31.5%, 59.5%, 0%, 9%)
CIE-LABlab(53.17, 52.79, -60.22)
CIE-LCHlch(53.17, 80.08, 311.24°)
OKLaboklab(61.89% 0.109 -0.1705)
OKLCHoklch(61.89% 0.202 302.6)
XYZxyz(32.8629, 21.2025, 78.6895)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5EE8 #A7E85E
analogous
#5E62E8 #9F5EE8 #E45EE8
triadic
#9F5EE8 #E89F5E #5EE89F
tetradic
#9F5EE8 #E85E62 #A7E85E #5EE8E4
square
#9F5EE8 #E85E62 #A7E85E #5EE8E4
split-complementary
#9F5EE8 #E8E45E #62E85E
monochromatic
#6119B2 #7F28E0 #9F5EE8 #BF94F0 #DFC9F7

Accessibility & contrast

On white

4.01
#9F5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9F5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5EE8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5EE8#FFFFFF#000000##000000
##9F5EE81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EEC
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#917A9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f5ee8;
/* rgb */ color: rgb(159, 94, 232);
/* oklch */ color: oklch(61.9% 0.202 302.6);
Tailwind
colors: {
  custom: {
    50: '#c08ef0',
    500: '#9f5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ee8;
$custom-light: #c08ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ee8",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 268.261,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61888,
    "c": 0.20242,
    "h": 302.6
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#9F5EE8
secondary
#D2E9B9
accent
#D70E79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #9F5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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