#9F3FCE#9F3FCE

#9F3FCE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.216 H 312.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9F3FCE
RGBrgb(159, 63, 206)
HSLhsl(280, 59%, 53%)
HSVhsv(280, 69%, 81%)
CMYKcmyk(22.8%, 69.4%, 0%, 19.2%)
CIE-LABlab(46.15, 61.64, -56.73)
CIE-LCHlch(46.15, 83.78, 317.38°)
OKLaboklab(56.3% 0.1456 -0.1602)
OKLCHoklch(56.3% 0.216 312.3)
XYZxyz(27.2141, 15.3829, 59.9162)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FCE #6ECE3F
analogous
#583FCE #9F3FCE #CE3FB5
triadic
#9F3FCE #CE9F3F #3FCE9F
tetradic
#9F3FCE #CE583F #6ECE3F #3FB5CE
square
#9F3FCE #CE583F #6ECE3F #3FB5CE
split-complementary
#9F3FCE #B5CE3F #3FCE58
monochromatic
#581E75 #7D2AA6 #9F3FCE #B770DA #D0A1E7

Accessibility & contrast

On white

5.15
#9F3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9F3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FCE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FCE#FFFFFF#000000##FFFFFF
##9F3FCE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#306FCB
Tritanopia (blue-blind)
#9A5D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3fce;
/* rgb */ color: rgb(159, 63, 206);
/* oklch */ color: oklch(56.3% 0.216 312.3);
Tailwind
colors: {
  custom: {
    50: '#c07cde',
    500: '#9f3fce',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fce;
$custom-light: #c07cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fce",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 280.28,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.21642,
    "h": 312.3
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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