#9F3FC2#9F3FC2

#9F3FC2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.205 H 315.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9F3FC2
RGBrgb(159, 63, 194)
HSLhsl(284, 52%, 50%)
HSVhsv(284, 68%, 76%)
CMYKcmyk(18%, 67.5%, 0%, 23.9%)
CIE-LABlab(45.39, 59.18, -51.02)
CIE-LCHlch(45.39, 78.13, 319.24°)
OKLaboklab(55.51% 0.1465 -0.1434)
OKLCHoklch(55.51% 0.205 315.6)
XYZxyz(25.8117, 14.8219, 52.5297)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FC2 #62C23F
analogous
#5D3FC2 #9F3FC2 #C23FA4
triadic
#9F3FC2 #C29F3F #3FC29F
tetradic
#9F3FC2 #C25D3F #62C23F #3FA4C2
square
#9F3FC2 #C25D3F #62C23F #3FA4C2
split-complementary
#9F3FC2 #A4C23F #3FC25D
monochromatic
#542066 #7A2F95 #9F3FC2 #B66DD1 #CD9CE0

Accessibility & contrast

On white

5.30
#9F3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9F3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FC2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FC2#FFFFFF#000000##FFFFFF
##9F3FC21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#3D6EBF
Tritanopia (blue-blind)
#9D587C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3fc2;
/* rgb */ color: rgb(159, 63, 194);
/* oklch */ color: oklch(55.5% 0.205 315.6);
Tailwind
colors: {
  custom: {
    50: '#bf7bd5',
    500: '#9f3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fc2;
$custom-light: #bf7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fc2",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 283.969,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.20503,
    "h": 315.6
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#9F3FC2
secondary
#A1CC91
accent
#DB4D73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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