#9F55CB#9F55CB

#9F55CB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.8% C 0.183 H 310.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9F55CB
RGBrgb(159, 85, 203)
HSLhsl(278, 53%, 56%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(21.7%, 58.1%, 0%, 20.4%)
CIE-LABlab(49.71, 50.72, -49.30)
CIE-LCHlch(49.71, 70.73, 315.82°)
OKLaboklab(58.81% 0.1202 -0.1385)
OKLCHoklch(58.81% 0.183 310.9)
XYZxyz(28.3241, 18.1803, 58.5054)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55CB #81CB55
analogous
#6455CB #9F55CB #CB55BC
triadic
#9F55CB #CB9F55 #55CB9F
tetradic
#9F55CB #CB6455 #81CB55 #55BCCB
square
#9F55CB #CB6455 #81CB55 #55BCCB
split-complementary
#9F55CB #BCCB55 #55CB64
monochromatic
#5E277F #8135AE #9F55CB #B984D9 #D4B3E8

Accessibility & contrast

On white

4.53
#9F55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9F55CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F55CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F55CB#FFFFFF#000000##000000
##9F55CB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#9A6A88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f55cb;
/* rgb */ color: rgb(159, 85, 203);
/* oklch */ color: oklch(58.8% 0.183 310.9);
Tailwind
colors: {
  custom: {
    50: '#be88db',
    500: '#9f55cb',
    950: '#000000',
  },
}
SCSS
$custom: #9f55cb;
$custom-light: #be88db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55cb",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 277.627,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.18335,
    "h": 310.9
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#9F55CB
secondary
#B8D6A6
accent
#DD4B81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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