#7E24BF#7E24BF

#7E24BF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.222 H 305.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7E24BF
RGBrgb(126, 36, 191)
HSLhsl(275, 68%, 45%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(34%, 81.2%, 0%, 25.1%)
CIE-LABlab(36.85, 62.66, -63.30)
CIE-LCHlch(36.85, 89.07, 314.71°)
OKLaboklab(48.43% 0.1285 -0.1804)
OKLCHoklch(48.43% 0.222 305.5)
XYZxyz(18.6369, 9.4591, 50.1241)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24BF #65BF24
analogous
#3124BF #7E24BF #BF24B3
triadic
#7E24BF #BF7E24 #24BF7E
tetradic
#7E24BF #BF3124 #65BF24 #24B3BF
square
#7E24BF #BF3124 #65BF24 #24B3BF
split-complementary
#7E24BF #B3BF24 #24BF31
monochromatic
#3A1158 #5C1A8C #7E24BF #9C44DC #B878E6

Accessibility & contrast

On white

7.26
#7E24BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7E24BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24BF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24BF#FFFFFF#000000##FFFFFF
##7E24BF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#724E73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e24bf;
/* rgb */ color: rgb(126, 36, 191);
/* oklch */ color: oklch(48.4% 0.222 305.5);
Tailwind
colors: {
  custom: {
    50: '#aa6bd3',
    500: '#7e24bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e24bf;
$custom-light: #aa6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24bf",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 191
  },
  "hsl": {
    "h": 274.839,
    "s": 68.282,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.2215,
    "h": 305.5
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#7E24BF
secondary
#98CD72
accent
#EB3D86
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7E24BF

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

Preview Lab → · Contrast checker → · Palette generator →

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