#7E24BD#7E24BD

#7E24BD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.220 H 306.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7E24BD
RGBrgb(126, 36, 189)
HSLhsl(275, 68%, 44%)
HSVhsv(275, 81%, 74%)
CMYKcmyk(33.3%, 81%, 0%, 25.9%)
CIE-LABlab(36.69, 62.23, -62.39)
CIE-LCHlch(36.69, 88.12, 314.92°)
OKLaboklab(48.27% 0.1291 -0.1777)
OKLCHoklch(48.27% 0.22 306)
XYZxyz(18.4183, 9.3717, 48.9729)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24BD #63BD24
analogous
#3224BD #7E24BD #BD24B0
triadic
#7E24BD #BD7E24 #24BD7E
tetradic
#7E24BD #BD3224 #63BD24 #24B0BD
square
#7E24BD #BD3224 #63BD24 #24B0BD
split-complementary
#7E24BD #B0BD24 #24BD32
monochromatic
#391056 #5C1A8A #7E24BD #9D43DB #B776E5

Accessibility & contrast

On white

7.31
#7E24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7E24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24BD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24BD#FFFFFF#000000##FFFFFF
##7E24BD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#724D72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e24bd;
/* rgb */ color: rgb(126, 36, 189);
/* oklch */ color: oklch(48.3% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#a96bd2',
    500: '#7e24bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e24bd;
$custom-light: #a96bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24bd",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 275.294,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.21966,
    "h": 306
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#7E24BD
secondary
#96CC70
accent
#EB3D85
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7E24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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