#9F55E6#9F55E6

#9F55E6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.213 H 304.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9F55E6
RGBrgb(159, 85, 230)
HSLhsl(271, 74%, 62%)
HSVhsv(271, 63%, 90%)
CMYKcmyk(30.9%, 63%, 0%, 9.8%)
CIE-LABlab(51.36, 56.86, -62.01)
CIE-LCHlch(51.36, 84.13, 312.52°)
OKLaboklab(60.53% 0.1195 -0.1758)
OKLCHoklch(60.53% 0.213 304.2)
XYZxyz(31.8263, 19.5812, 76.9504)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55E6 #9CE655
analogous
#5755E6 #9F55E6 #E655E4
triadic
#9F55E6 #E69F55 #55E69F
tetradic
#9F55E6 #E65755 #9CE655 #55E4E6
square
#9F55E6 #E65755 #9CE655 #55E4E6
split-complementary
#9F55E6 #E4E655 #55E657
monochromatic
#6219A8 #8121DD #9F55E6 #BD8AEE #DBC0F6

Accessibility & contrast

On white

4.27
#9F55E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9F55E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F55E6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F55E6#FFFFFF#000000##000000
##9F55E61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#927496
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f55e6;
/* rgb */ color: rgb(159, 85, 230);
/* oklch */ color: oklch(60.5% 0.213 304.2);
Tailwind
colors: {
  custom: {
    50: '#c089ef',
    500: '#9f55e6',
    950: '#000000',
  },
}
SCSS
$custom: #9f55e6;
$custom-light: #c089ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55e6",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 270.621,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.21256,
    "h": 304.2
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#9F55E6
secondary
#CBE6B1
accent
#D60F71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F55E6

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

Preview Lab → · Contrast checker → · Palette generator →

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