#9F3CCE#9F3CCE

#9F3CCE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.220 H 312.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9F3CCE
RGBrgb(159, 60, 206)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 71%, 81%)
CMYKcmyk(22.8%, 70.9%, 0%, 19.2%)
CIE-LABlab(45.72, 62.88, -57.44)
CIE-LCHlch(45.72, 85.16, 317.59°)
OKLaboklab(55.99% 0.1486 -0.1622)
OKLCHoklch(55.99% 0.22 312.5)
XYZxyz(27.0525, 15.0596, 59.8623)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CCE #6BCE3C
analogous
#563CCE #9F3CCE #CE3CB4
triadic
#9F3CCE #CE9F3C #3CCE9F
tetradic
#9F3CCE #CE563C #6BCE3C #3CB4CE
square
#9F3CCE #CE563C #6BCE3C #3CB4CE
split-complementary
#9F3CCE #B4CE3C #3CCE56
monochromatic
#571D73 #7C29A4 #9F3CCE #B76DDA #CF9EE7

Accessibility & contrast

On white

5.23
#9F3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9F3CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CCE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CCE#FFFFFF#000000##FFFFFF
##9F3CCE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#9A5C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3cce;
/* rgb */ color: rgb(159, 60, 206);
/* oklch */ color: oklch(56.0% 0.220 312.5);
Tailwind
colors: {
  custom: {
    50: '#c07ade',
    500: '#9f3cce',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cce;
$custom-light: #c07ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cce",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 280.685,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.21999,
    "h": 312.5
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#9F3CCE
secondary
#A8D393
accent
#E34578
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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