#9F56E9#9F56E9

#9F56E9 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.9% C 0.214 H 303.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9F56E9
RGBrgb(159, 86, 233)
HSLhsl(270, 77%, 63%)
HSVhsv(270, 63%, 91%)
CMYKcmyk(31.8%, 63.1%, 0%, 8.6%)
CIE-LABlab(51.73, 57.07, -63.09)
CIE-LCHlch(51.73, 85.07, 312.13°)
OKLaboklab(60.87% 0.1182 -0.179)
OKLCHoklch(60.87% 0.214 303.4)
XYZxyz(32.3305, 19.9097, 79.2147)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56E9 #A0E956
analogous
#5657E9 #9F56E9 #E856E9
triadic
#9F56E9 #E99F56 #56E99F
tetradic
#9F56E9 #E95657 #A0E956 #56E9E8
square
#9F56E9 #E95657 #A0E956 #56E9E8
split-complementary
#9F56E9 #E9E856 #57E956
monochromatic
#6217AE #8020E2 #9F56E9 #BE8CF0 #DDC2F7

Accessibility & contrast

On white

4.22
#9F56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9F56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56E9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56E9#FFFFFF#000000##000000
##9F56E91.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#917698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f56e9;
/* rgb */ color: rgb(159, 86, 233);
/* oklch */ color: oklch(60.9% 0.214 303.4);
Tailwind
colors: {
  custom: {
    50: '#c08af1',
    500: '#9f56e9',
    950: '#000000',
  },
}
SCSS
$custom: #9f56e9;
$custom-light: #c08af1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56e9",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 269.796,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.21447,
    "h": 303.4
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#9F56E9
secondary
#CEE8B3
accent
#D90C73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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