#9F55E5#9F55E5

#9F55E5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.211 H 304.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9F55E5
RGBrgb(159, 85, 229)
HSLhsl(271, 73%, 62%)
HSVhsv(271, 63%, 90%)
CMYKcmyk(30.6%, 62.9%, 0%, 10.2%)
CIE-LABlab(51.30, 56.63, -61.55)
CIE-LCHlch(51.30, 83.63, 312.61°)
OKLaboklab(60.47% 0.1196 -0.1744)
OKLCHoklch(60.47% 0.211 304.4)
XYZxyz(31.6863, 19.5252, 76.2130)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55E5 #9BE555
analogous
#5755E5 #9F55E5 #E555E3
triadic
#9F55E5 #E59F55 #55E59F
tetradic
#9F55E5 #E55755 #9BE555 #55E3E5
square
#9F55E5 #E55755 #9BE555 #55E3E5
split-complementary
#9F55E5 #E3E555 #55E557
monochromatic
#6219A6 #8122DB #9F55E5 #BD8AED #DBBFF5

Accessibility & contrast

On white

4.28
#9F55E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9F55E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F55E5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F55E5#FFFFFF#000000##000000
##9F55E51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#927395
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f55e5;
/* rgb */ color: rgb(159, 85, 229);
/* oklch */ color: oklch(60.5% 0.211 304.4);
Tailwind
colors: {
  custom: {
    50: '#c089ee',
    500: '#9f55e5',
    950: '#000000',
  },
}
SCSS
$custom: #9f55e5;
$custom-light: #c089ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55e5",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 270.833,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.21148,
    "h": 304.4
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#9F55E5
secondary
#CAE6B0
accent
#D61070
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F55E5

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

Preview Lab → · Contrast checker → · Palette generator →

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