#9F55CD#9F55CD

#9F55CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.186 H 310.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F55CD
RGBrgb(159, 85, 205)
HSLhsl(277, 55%, 57%)
HSVhsv(277, 59%, 80%)
CMYKcmyk(22.4%, 58.5%, 0%, 19.6%)
CIE-LABlab(49.83, 51.16, -50.26)
CIE-LCHlch(49.83, 71.72, 315.51°)
OKLaboklab(58.93% 0.1202 -0.1413)
OKLCHoklch(58.93% 0.186 310.4)
XYZxyz(28.5639, 18.2763, 59.7687)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55CD #83CD55
analogous
#6355CD #9F55CD #CD55BF
triadic
#9F55CD #CD9F55 #55CD9F
tetradic
#9F55CD #CD6355 #83CD55 #55BFCD
square
#9F55CD #CD6355 #83CD55 #55BFCD
split-complementary
#9F55CD #BFCD55 #55CD63
monochromatic
#5E2682 #8134B1 #9F55CD #BA84DB #D4B4E9

Accessibility & contrast

On white

4.51
#9F55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9F55CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F55CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F55CD#FFFFFF#000000##000000
##9F55CD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#996B89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f55cd;
/* rgb */ color: rgb(159, 85, 205);
/* oklch */ color: oklch(58.9% 0.186 310.4);
Tailwind
colors: {
  custom: {
    50: '#be88dd',
    500: '#9f55cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f55cd;
$custom-light: #be88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55cd",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 277,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.18551,
    "h": 310.4
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#9F55CD
secondary
#B9D7A6
accent
#DE4A83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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