#7D24B1#7D24B1

#7D24B1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.208 H 308.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7D24B1
RGBrgb(125, 36, 177)
HSLhsl(278, 66%, 42%)
HSVhsv(278, 80%, 69%)
CMYKcmyk(29.4%, 79.7%, 0%, 30.6%)
CIE-LABlab(35.59, 59.47, -57.09)
CIE-LCHlch(35.59, 82.44, 316.17°)
OKLaboklab(47.17% 0.1308 -0.1622)
OKLCHoklch(47.17% 0.208 308.9)
XYZxyz(17.0225, 8.7964, 42.3876)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24B1 #58B124
analogous
#3624B1 #7D24B1 #B1249F
triadic
#7D24B1 #B17D24 #24B17D
tetradic
#7D24B1 #B13624 #58B124 #249FB1
square
#7D24B1 #B13624 #58B124 #249FB1
split-complementary
#7D24B1 #9FB124 #24B136
monochromatic
#350F4B #591A7E #7D24B1 #9E3BD7 #B76EE1

Accessibility & contrast

On white

7.61
#7D24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24B1
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24B1#FFFFFF#000000##FFFFFF
##7D24B11.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#75486B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d24b1;
/* rgb */ color: rgb(125, 36, 177);
/* oklch */ color: oklch(47.2% 0.208 308.9);
Tailwind
colors: {
  custom: {
    50: '#a86ac9',
    500: '#7d24b1',
    950: '#000000',
  },
}
SCSS
$custom: #7d24b1;
$custom-light: #a86ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24b1",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 277.872,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.20835,
    "h": 308.9
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#7D24B1
secondary
#8CC869
accent
#E93F7E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24B1

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

Preview Lab → · Contrast checker → · Palette generator →

#7D24B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva