#9A24DB#9A24DB

#9A24DB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.3% C 0.253 H 308.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A24DB
RGBrgb(154, 36, 219)
HSLhsl(279, 72%, 50%)
HSVhsv(279, 84%, 86%)
CMYKcmyk(29.7%, 83.6%, 0%, 14.1%)
CIE-LABlab(43.13, 72.75, -69.13)
CIE-LCHlch(43.13, 100.35, 316.46°)
OKLaboklab(54.32% 0.1588 -0.1966)
OKLCHoklch(54.32% 0.253 308.9)
XYZxyz(26.7408, 13.2468, 68.1523)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A24DB #65DB24
analogous
#3F24DB #9A24DB #DB24C0
triadic
#9A24DB #DB9A24 #24DB9A
tetradic
#9A24DB #DB3F24 #65DB24 #24C0DB
square
#9A24DB #DB3F24 #65DB24 #24C0DB
split-complementary
#9A24DB #C0DB24 #24DB3F
monochromatic
#501372 #751BA6 #9A24DB #B259E4 #CA8DEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A24DB#FFFFFF#000000##FFFFFF
##9A24DB1.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)
#0062E0
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#905784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a24db;
/* rgb */ color: rgb(154, 36, 219);
/* oklch */ color: oklch(54.3% 0.253 308.9);
Tailwind
colors: {
  custom: {
    50: '#be70e7',
    500: '#9a24db',
    950: '#000000',
  },
}
SCSS
$custom: #9a24db;
$custom-light: #be70e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a24db",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 219
  },
  "hsl": {
    "h": 278.689,
    "s": 71.765,
    "l": 50
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.25271,
    "h": 308.9
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#9A24DB
secondary
#A2D684
accent
#EE397A
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9A24DB

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

Preview Lab → · Contrast checker → · Palette generator →

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