#9F3EC3#9F3EC3

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

Color values

HEX#9F3EC3
RGBrgb(159, 62, 195)
HSLhsl(284, 53%, 50%)
HSVhsv(284, 68%, 76%)
CMYKcmyk(18.5%, 68.2%, 0%, 23.5%)
CIE-LABlab(45.30, 59.81, -51.74)
CIE-LCHlch(45.30, 79.08, 319.14°)
OKLaboklab(55.46% 0.1476 -0.1455)
OKLCHoklch(55.46% 0.207 315.4)
XYZxyz(25.8695, 14.7572, 53.1049)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EC3 #62C33E
analogous
#5C3EC3 #9F3EC3 #C33EA5
triadic
#9F3EC3 #C39F3E #3EC39F
tetradic
#9F3EC3 #C35C3E #62C33E #3EA5C3
square
#9F3EC3 #C35C3E #62C33E #3EA5C3
split-complementary
#9F3EC3 #A5C33E #3EC35C
monochromatic
#542067 #7A2E95 #9F3EC3 #B66DD2 #CD9BE0

Accessibility & contrast

On white

5.31
#9F3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9F3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EC3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EC3#FFFFFF#000000##FFFFFF
##9F3EC31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#9C587C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3ec3;
/* rgb */ color: rgb(159, 62, 195);
/* oklch */ color: oklch(55.5% 0.207 315.4);
Tailwind
colors: {
  custom: {
    50: '#bf7bd6',
    500: '#9f3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ec3;
$custom-light: #bf7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ec3",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 283.759,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.20724,
    "h": 315.4
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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