#9F2EC3#9F2EC3

#9F2EC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.225 H 316.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9F2EC3
RGBrgb(159, 46, 195)
HSLhsl(286, 62%, 47%)
HSVhsv(286, 76%, 76%)
CMYKcmyk(18.5%, 76.4%, 0%, 23.5%)
CIE-LABlab(43.16, 65.88, -55.18)
CIE-LCHlch(43.16, 85.94, 320.05°)
OKLaboklab(53.94% 0.163 -0.1555)
OKLCHoklch(53.94% 0.225 316.4)
XYZxyz(25.1239, 13.2661, 52.8564)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EC3 #52C32E
analogous
#542EC3 #9F2EC3 #C32E9D
triadic
#9F2EC3 #C39F2E #2EC39F
tetradic
#9F2EC3 #C3542E #52C32E #2E9DC3
square
#9F2EC3 #C3542E #52C32E #2E9DC3
split-complementary
#9F2EC3 #9DC32E #2EC354
monochromatic
#4E1760 #772291 #9F2EC3 #B857D7 #CD88E3

Accessibility & contrast

On white

5.75
#9F2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9F2EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EC3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EC3#FFFFFF#000000##FFFFFF
##9F2EC31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#9D4F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2ec3;
/* rgb */ color: rgb(159, 46, 195);
/* oklch */ color: oklch(53.9% 0.225 316.4);
Tailwind
colors: {
  custom: {
    50: '#c073d6',
    500: '#9f2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ec3;
$custom-light: #c073d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ec3",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 285.503,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.22531,
    "h": 316.4
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#9F2EC3
secondary
#93CD80
accent
#E5436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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