#7D24B0#7D24B0

#7D24B0 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.207 H 309.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7D24B0
RGBrgb(125, 36, 176)
HSLhsl(278, 66%, 42%)
HSVhsv(278, 80%, 69%)
CMYKcmyk(29%, 79.5%, 0%, 31%)
CIE-LABlab(35.51, 59.26, -56.62)
CIE-LCHlch(35.51, 81.96, 316.30°)
OKLaboklab(47.09% 0.131 -0.1608)
OKLCHoklch(47.09% 0.207 309.2)
XYZxyz(16.9232, 8.7566, 41.8646)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24B0 #57B024
analogous
#3724B0 #7D24B0 #B0249D
triadic
#7D24B0 #B07D24 #24B07D
tetradic
#7D24B0 #B03724 #57B024 #249DB0
square
#7D24B0 #B03724 #57B024 #249DB0
split-complementary
#7D24B0 #9DB024 #24B037
monochromatic
#350F4A #591A7D #7D24B0 #9E3AD7 #B76DE1

Accessibility & contrast

On white

7.63
#7D24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7D24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24B0
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24B0#FFFFFF#000000##FFFFFF
##7D24B01.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#75486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d24b0;
/* rgb */ color: rgb(125, 36, 176);
/* oklch */ color: oklch(47.1% 0.207 309.2);
Tailwind
colors: {
  custom: {
    50: '#a86ac8',
    500: '#7d24b0',
    950: '#000000',
  },
}
SCSS
$custom: #7d24b0;
$custom-light: #a86ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24b0",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 278.143,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.20743,
    "h": 309.2
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#7D24B0
secondary
#8BC868
accent
#E93F7D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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