#9F3FCC#9F3FCC

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

Color values

HEX#9F3FCC
RGBrgb(159, 63, 204)
HSLhsl(281, 58%, 52%)
HSVhsv(281, 69%, 80%)
CMYKcmyk(22.1%, 69.1%, 0%, 20%)
CIE-LABlab(46.02, 61.23, -55.79)
CIE-LCHlch(46.02, 82.83, 317.66°)
OKLaboklab(56.16% 0.1458 -0.1574)
OKLCHoklch(56.16% 0.215 312.8)
XYZxyz(26.9727, 15.2864, 58.6447)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FCC #6CCC3F
analogous
#583FCC #9F3FCC #CC3FB3
triadic
#9F3FCC #CC9F3F #3FCC9F
tetradic
#9F3FCC #CC583F #6CCC3F #3FB3CC
square
#9F3FCC #CC583F #6CCC3F #3FB3CC
split-complementary
#9F3FCC #B3CC3F #3FCC58
monochromatic
#571E72 #7C2BA3 #9F3FCC #B76FD9 #CFA0E6

Accessibility & contrast

On white

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

On black

4.06
#9F3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F3FCC#FFFFFF#000000##FFFFFF
##9F3FCC1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#9A5C81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3fcc;
/* rgb */ color: rgb(159, 63, 204);
/* oklch */ color: oklch(56.2% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#bf7cdc',
    500: '#9f3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fcc;
$custom-light: #bf7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fcc",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 280.851,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.21451,
    "h": 312.8
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#9F3FCC
secondary
#A8D295
accent
#E14778
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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