#9F55CA#9F55CA

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

Color values

HEX#9F55CA
RGBrgb(159, 85, 202)
HSLhsl(278, 52%, 56%)
HSVhsv(278, 58%, 79%)
CMYKcmyk(21.3%, 57.9%, 0%, 20.8%)
CIE-LABlab(49.66, 50.50, -48.81)
CIE-LCHlch(49.66, 70.23, 315.97°)
OKLaboklab(58.75% 0.1201 -0.1371)
OKLCHoklch(58.75% 0.182 311.2)
XYZxyz(28.2053, 18.1328, 57.8798)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F55CA #80CA55
analogous
#6555CA #9F55CA #CA55BA
triadic
#9F55CA #CA9F55 #55CA9F
tetradic
#9F55CA #CA6555 #80CA55 #55BACA
square
#9F55CA #CA6555 #80CA55 #55BACA
split-complementary
#9F55CA #BACA55 #55CA65
monochromatic
#5E277D #8136AC #9F55CA #B984D9 #D4B2E7

Accessibility & contrast

On white

4.54
#9F55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9F55CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F55CA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F55CA#FFFFFF#000000##000000
##9F55CA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#4B78C7
Tritanopia (blue-blind)
#9A6A87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f55ca;
/* rgb */ color: rgb(159, 85, 202);
/* oklch */ color: oklch(58.8% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#be88db',
    500: '#9f55ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f55ca;
$custom-light: #be88db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f55ca",
  "rgb": {
    "r": 159,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 277.949,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.18227,
    "h": 311.2
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#9F55CA
secondary
#B7D5A5
accent
#DC4C81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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