#9F3EC2#9F3EC2

#9F3EC2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.206 H 315.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9F3EC2
RGBrgb(159, 62, 194)
HSLhsl(284, 52%, 50%)
HSVhsv(284, 68%, 76%)
CMYKcmyk(18%, 68%, 0%, 23.9%)
CIE-LABlab(45.24, 59.61, -51.26)
CIE-LCHlch(45.24, 78.62, 319.30°)
OKLaboklab(55.4% 0.1476 -0.1441)
OKLCHoklch(55.4% 0.206 315.7)
XYZxyz(25.7568, 14.7122, 52.5114)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EC2 #61C23E
analogous
#5D3EC2 #9F3EC2 #C23EA3
triadic
#9F3EC2 #C29F3E #3EC29F
tetradic
#9F3EC2 #C25D3E #61C23E #3EA3C2
square
#9F3EC2 #C25D3E #61C23E #3EA3C2
split-complementary
#9F3EC2 #A3C23E #3EC25D
monochromatic
#532066 #792F94 #9F3EC2 #B66DD1 #CD9BDF

Accessibility & contrast

On white

5.33
#9F3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9F3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EC2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EC2#FFFFFF#000000##FFFFFF
##9F3EC21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#9D587B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3ec2;
/* rgb */ color: rgb(159, 62, 194);
/* oklch */ color: oklch(55.4% 0.206 315.7);
Tailwind
colors: {
  custom: {
    50: '#bf7bd5',
    500: '#9f3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ec2;
$custom-light: #bf7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ec2",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 284.091,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.20631,
    "h": 315.7
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#9F3EC2
secondary
#A0CB90
accent
#DB4C72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9F3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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