#9F3ECE#9F3ECE

#9F3ECE is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.218 H 312.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9F3ECE
RGBrgb(159, 62, 206)
HSLhsl(280, 60%, 53%)
HSVhsv(280, 70%, 81%)
CMYKcmyk(22.8%, 69.9%, 0%, 19.2%)
CIE-LABlab(46.01, 62.06, -56.97)
CIE-LCHlch(46.01, 84.24, 317.45°)
OKLaboklab(56.19% 0.1466 -0.1608)
OKLCHoklch(56.19% 0.218 312.3)
XYZxyz(27.1593, 15.2732, 59.8979)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ECE #6DCE3E
analogous
#573ECE #9F3ECE #CE3EB5
triadic
#9F3ECE #CE9F3E #3ECE9F
tetradic
#9F3ECE #CE573E #6DCE3E #3EB5CE
square
#9F3ECE #CE573E #6DCE3E #3EB5CE
split-complementary
#9F3ECE #B5CE3E #3ECE57
monochromatic
#581D74 #7D2AA5 #9F3ECE #B76FDA #D0A0E7

Accessibility & contrast

On white

5.18
#9F3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9F3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ECE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ECE#FFFFFF#000000##FFFFFF
##9F3ECE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#2F6FCB
Tritanopia (blue-blind)
#9A5D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3ece;
/* rgb */ color: rgb(159, 62, 206);
/* oklch */ color: oklch(56.2% 0.218 312.3);
Tailwind
colors: {
  custom: {
    50: '#c07bde',
    500: '#9f3ece',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ece;
$custom-light: #c07bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ece",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 280.417,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.21762,
    "h": 312.3
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#9F3ECE
secondary
#A9D395
accent
#E34579
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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