#9F29CA#9F29CA

#9F29CA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.236 H 314.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9F29CA
RGBrgb(159, 41, 202)
HSLhsl(284, 66%, 48%)
HSVhsv(284, 80%, 79%)
CMYKcmyk(21.3%, 79.7%, 0%, 20.8%)
CIE-LABlab(43.10, 68.81, -59.36)
CIE-LCHlch(43.10, 90.87, 319.22°)
OKLaboklab(54.05% 0.1659 -0.1677)
OKLCHoklch(54.05% 0.236 314.7)
XYZxyz(25.7499, 13.2220, 57.0614)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29CA #54CA29
analogous
#4E29CA #9F29CA #CA29A5
triadic
#9F29CA #CA9F29 #29CA9F
tetradic
#9F29CA #CA4E29 #54CA29 #29A5CA
square
#9F29CA #CA4E29 #54CA29 #29A5CA
split-complementary
#9F29CA #A5CA29 #29CA4E
monochromatic
#4F1464 #771F97 #9F29CA #B854DC #CD87E7

Accessibility & contrast

On white

5.76
#9F29CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9F29CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29CA#FFFFFF#000000##FFFFFF
##9F29CA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#9B507B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f29ca;
/* rgb */ color: rgb(159, 41, 202);
/* oklch */ color: oklch(54.0% 0.236 314.7);
Tailwind
colors: {
  custom: {
    50: '#c072db',
    500: '#9f29ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f29ca;
$custom-light: #c072db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29ca",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 283.975,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.23589,
    "h": 314.7
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#9F29CA
secondary
#94D07F
accent
#E93F6C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F29CA

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

Preview Lab → · Contrast checker → · Palette generator →

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