#9F55EA#9F55EA

#9F55EA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.217 H 303.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9F55EA
RGBrgb(159, 85, 234)
HSLhsl(270, 78%, 63%)
HSVhsv(270, 64%, 92%)
CMYKcmyk(32.1%, 63.7%, 0%, 8.2%)
CIE-LABlab(51.62, 57.79, -63.84)
CIE-LCHlch(51.62, 86.12, 312.15°)
OKLaboklab(60.8% 0.1192 -0.1812)
OKLCHoklch(60.8% 0.217 303.4)
XYZxyz(32.3945, 19.8085, 79.9427)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55EA #A0EA55
analogous
#5555EA #9F55EA #EA55EA
triadic
#9F55EA #EA9F55 #55EA9F
tetradic
#9F55EA #EA5555 #A0EA55 #55EAEA
square
#9F55EA #EA5555 #A0EA55 #55EAEA
split-complementary
#9F55EA #EAEA55 #55EA55
monochromatic
#6216AF #801FE3 #9F55EA #BE8BF1 #DDC2F7

Accessibility & contrast

On white

4.23
#9F55EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9F55EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F55EA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F55EA#FFFFFF#000000##000000
##9F55EA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#247BE7
Tritanopia (blue-blind)
#917598
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f55ea;
/* rgb */ color: rgb(159, 85, 234);
/* oklch */ color: oklch(60.8% 0.217 303.4);
Tailwind
colors: {
  custom: {
    50: '#c089f2',
    500: '#9f55ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f55ea;
$custom-light: #c089f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55ea",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 269.799,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60804,
    "c": 0.21687,
    "h": 303.4
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#9F55EA
secondary
#CEE8B2
accent
#DA0B73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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