#9F3ACC#9F3ACC

#9F3ACC is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.220 H 313.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9F3ACC
RGBrgb(159, 58, 204)
HSLhsl(282, 59%, 51%)
HSVhsv(282, 72%, 80%)
CMYKcmyk(22.1%, 71.6%, 0%, 20%)
CIE-LABlab(45.30, 63.27, -56.95)
CIE-LCHlch(45.30, 85.13, 318.01°)
OKLaboklab(55.65% 0.1508 -0.1608)
OKLCHoklch(55.65% 0.22 313.2)
XYZxyz(26.7083, 14.7575, 58.5566)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ACC #67CC3A
analogous
#563ACC #9F3ACC #CC3AB0
triadic
#9F3ACC #CC9F3A #3ACC9F
tetradic
#9F3ACC #CC563A #67CC3A #3AB0CC
square
#9F3ACC #CC563A #67CC3A #3AB0CC
split-complementary
#9F3ACC #B0CC3A #3ACC56
monochromatic
#561D6F #7B29A0 #9F3ACC #B76BD9 #CE9BE5

Accessibility & contrast

On white

5.31
#9F3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9F3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ACC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ACC#FFFFFF#000000##FFFFFF
##9F3ACC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2D6DC9
Tritanopia (blue-blind)
#9A5A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3acc;
/* rgb */ color: rgb(159, 58, 204);
/* oklch */ color: oklch(55.6% 0.220 313.2);
Tailwind
colors: {
  custom: {
    50: '#c079dc',
    500: '#9f3acc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3acc;
$custom-light: #c079dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3acc",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 281.507,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.22044,
    "h": 313.2
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#9F3ACC
secondary
#A5D191
accent
#E24676
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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