#7D24BD#7D24BD

#7D24BD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.219 H 305.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7D24BD
RGBrgb(125, 36, 189)
HSLhsl(275, 68%, 44%)
HSVhsv(275, 81%, 74%)
CMYKcmyk(33.9%, 81%, 0%, 25.9%)
CIE-LABlab(36.55, 62.07, -62.63)
CIE-LCHlch(36.55, 88.18, 314.74°)
OKLaboklab(48.14% 0.1277 -0.1785)
OKLCHoklch(48.14% 0.219 305.6)
XYZxyz(18.2716, 9.2960, 48.9660)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D24BD #64BD24
analogous
#3124BD #7D24BD #BD24B1
triadic
#7D24BD #BD7D24 #24BD7D
tetradic
#7D24BD #BD3124 #64BD24 #24B1BD
square
#7D24BD #BD3124 #64BD24 #24B1BD
split-complementary
#7D24BD #B1BD24 #24BD31
monochromatic
#391056 #5B1A8A #7D24BD #9C43DB #B776E5

Accessibility & contrast

On white

7.34
#7D24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7D24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D24BD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D24BD#FFFFFF#000000##FFFFFF
##7D24BD1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#714E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d24bd;
/* rgb */ color: rgb(125, 36, 189);
/* oklch */ color: oklch(48.1% 0.219 305.6);
Tailwind
colors: {
  custom: {
    50: '#a96bd2',
    500: '#7d24bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d24bd;
$custom-light: #a96bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d24bd",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 274.902,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.21943,
    "h": 305.6
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#7D24BD
secondary
#97CC70
accent
#EB3D86
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7D24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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