#9F2EA2#9F2EA2

#9F2EA2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.198 H 326.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9F2EA2
RGBrgb(159, 46, 162)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 64%)
CMYKcmyk(1.9%, 71.6%, 0%, 36.5%)
CIE-LABlab(41.11, 59.87, -38.96)
CIE-LCHlch(41.11, 71.43, 326.94°)
OKLaboklab(51.83% 0.1656 -0.1081)
OKLCHoklch(51.83% 0.198 326.9)
XYZxyz(21.7963, 11.9350, 35.3311)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EA2 #31A22E
analogous
#652EA2 #9F2EA2 #A22E6B
triadic
#9F2EA2 #A29F2E #2EA29F
tetradic
#9F2EA2 #A2652E #31A22E #2E6BA2
square
#9F2EA2 #A2652E #31A22E #2E6BA2
split-complementary
#9F2EA2 #6BA22E #2EA265
monochromatic
#411343 #702072 #9F2EA2 #C643CA #D573D7

Accessibility & contrast

On white

6.20
#9F2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F2EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EA2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EA2#FFFFFF#000000##FFFFFF
##9F2EA21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#A34065
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ea2;
/* rgb */ color: rgb(159, 46, 162);
/* oklch */ color: oklch(51.8% 0.198 326.9);
Tailwind
colors: {
  custom: {
    50: '#bf72be',
    500: '#9f2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ea2;
$custom-light: #bf72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ea2",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 298.448,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.19773,
    "h": 326.9
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#9F2EA2
secondary
#6FBF6D
accent
#DF494D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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