#7D24B3#7D24B3

#7D24B3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.210 H 308.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7D24B3
RGBrgb(125, 36, 179)
HSLhsl(277, 67%, 42%)
HSVhsv(277, 80%, 70%)
CMYKcmyk(30.2%, 79.9%, 0%, 29.8%)
CIE-LABlab(35.75, 59.90, -58.02)
CIE-LCHlch(35.75, 83.39, 315.91°)
OKLaboklab(47.33% 0.1303 -0.1649)
OKLCHoklch(47.33% 0.21 308.3)
XYZxyz(17.2233, 8.8767, 43.4451)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24B3 #5AB324
analogous
#3624B3 #7D24B3 #B324A2
triadic
#7D24B3 #B37D24 #24B37D
tetradic
#7D24B3 #B33624 #5AB324 #24A2B3
square
#7D24B3 #B33624 #5AB324 #24A2B3
split-complementary
#7D24B3 #A2B324 #24B336
monochromatic
#36104D #591A80 #7D24B3 #9D3CD8 #B76FE2

Accessibility & contrast

On white

7.57
#7D24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24B3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24B3#FFFFFF#000000##FFFFFF
##7D24B31.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#74496C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d24b3;
/* rgb */ color: rgb(125, 36, 179);
/* oklch */ color: oklch(47.3% 0.210 308.3);
Tailwind
colors: {
  custom: {
    50: '#a86acb',
    500: '#7d24b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d24b3;
$custom-light: #a86acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24b3",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 277.343,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.2102,
    "h": 308.3
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#7D24B3
secondary
#8EC96A
accent
#E93E7F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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