#9F29EA#9F29EA

#9F29EA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.5% C 0.263 H 307.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9F29EA
RGBrgb(159, 41, 234)
HSLhsl(277, 82%, 54%)
HSVhsv(277, 82%, 92%)
CMYKcmyk(32.1%, 82.5%, 0%, 8.2%)
CIE-LABlab(45.49, 75.14, -73.79)
CIE-LCHlch(45.49, 105.31, 315.52°)
OKLaboklab(56.47% 0.1582 -0.2101)
OKLCHoklch(56.47% 0.263 307)
XYZxyz(29.9391, 14.8977, 79.1243)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F29EA #74EA29
analogous
#3F29EA #9F29EA #EA29D5
triadic
#9F29EA #EA9F29 #29EA9F
tetradic
#9F29EA #EA3F29 #74EA29 #29D5EA
square
#9F29EA #EA3F29 #74EA29 #29D5EA
split-complementary
#9F29EA #D5EA29 #29EA3F
monochromatic
#5A0E8B #7E13C3 #9F29EA #B861EF #D198F5

Accessibility & contrast

On white

5.28
#9F29EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9F29EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F29EA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F29EA#FFFFFF#000000##FFFFFF
##9F29EA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#925F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f29ea;
/* rgb */ color: rgb(159, 41, 234);
/* oklch */ color: oklch(56.5% 0.263 307.0);
Tailwind
colors: {
  custom: {
    50: '#c273f2',
    500: '#9f29ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f29ea;
$custom-light: #c273f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f29ea",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 234
  },
  "hsl": {
    "h": 276.684,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.263,
    "h": 307
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#9F29EA
secondary
#AEE18E
accent
#F82F7D
background
#FCF7FE
surface
#F9EDFD
border
#D2C8D5
text
#130917
muted
#827B85

Preview Lab

Preview with #9F29EA

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

Preview Lab → · Contrast checker → · Palette generator →

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