#9F3FCA#9F3FCA

#9F3FCA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.213 H 313.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9F3FCA
RGBrgb(159, 63, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 69%, 79%)
CMYKcmyk(21.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(45.89, 60.82, -54.84)
CIE-LCHlch(45.89, 81.89, 317.96°)
OKLaboklab(56.03% 0.1459 -0.1546)
OKLCHoklch(56.03% 0.213 313.3)
XYZxyz(26.7344, 15.1910, 57.3895)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FCA #6ACA3F
analogous
#5A3FCA #9F3FCA #CA3FB0
triadic
#9F3FCA #CA9F3F #3FCA9F
tetradic
#9F3FCA #CA5A3F #6ACA3F #3FB0CA
square
#9F3FCA #CA5A3F #6ACA3F #3FB0CA
split-complementary
#9F3FCA #B0CA3F #3FCA5A
monochromatic
#571F70 #7C2CA0 #9F3FCA #B76FD7 #CF9FE4

Accessibility & contrast

On white

5.20
#9F3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9F3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FCA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FCA#FFFFFF#000000##FFFFFF
##9F3FCA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#9B5C80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3fca;
/* rgb */ color: rgb(159, 63, 202);
/* oklch */ color: oklch(56.0% 0.213 313.3);
Tailwind
colors: {
  custom: {
    50: '#bf7cdb',
    500: '#9f3fca',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fca;
$custom-light: #bf7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fca",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 281.439,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56029,
    "c": 0.21261,
    "h": 313.3
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#9F3FCA
secondary
#A7D194
accent
#E04877
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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