#7E24BB#7E24BB

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

Color values

HEX#7E24BB
RGBrgb(126, 36, 187)
HSLhsl(276, 68%, 44%)
HSVhsv(276, 81%, 73%)
CMYKcmyk(32.6%, 80.7%, 0%, 26.7%)
CIE-LABlab(36.53, 61.79, -61.48)
CIE-LCHlch(36.53, 87.16, 315.15°)
OKLaboklab(48.11% 0.1296 -0.175)
OKLCHoklch(48.11% 0.218 306.5)
XYZxyz(18.2027, 9.2854, 47.8374)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24BB #61BB24
analogous
#3324BB #7E24BB #BB24AC
triadic
#7E24BB #BB7E24 #24BB7E
tetradic
#7E24BB #BB3324 #61BB24 #24ACBB
square
#7E24BB #BB3324 #61BB24 #24ACBB
split-complementary
#7E24BB #ACBB24 #24BB33
monochromatic
#391054 #5B1A88 #7E24BB #9D42DB #B775E4

Accessibility & contrast

On white

7.35
#7E24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E24BB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24BB#FFFFFF#000000##FFFFFF
##7E24BB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#734D71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e24bb;
/* rgb */ color: rgb(126, 36, 187);
/* oklch */ color: oklch(48.1% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#a96bd0',
    500: '#7e24bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e24bb;
$custom-light: #a96bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24bb",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 275.762,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.21781,
    "h": 306.5
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#7E24BB
secondary
#95CC6F
accent
#EB3D83
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7E24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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