#7E24BE#7E24BE

#7E24BE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.221 H 305.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7E24BE
RGBrgb(126, 36, 190)
HSLhsl(275, 68%, 44%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(33.7%, 81.1%, 0%, 25.5%)
CIE-LABlab(36.77, 62.44, -62.85)
CIE-LCHlch(36.77, 88.59, 314.82°)
OKLaboklab(48.35% 0.1288 -0.1791)
OKLCHoklch(48.35% 0.221 305.7)
XYZxyz(18.5272, 9.4152, 49.5465)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24BE #64BE24
analogous
#3124BE #7E24BE #BE24B1
triadic
#7E24BE #BE7E24 #24BE7E
tetradic
#7E24BE #BE3124 #64BE24 #24B1BE
square
#7E24BE #BE3124 #64BE24 #24B1BE
split-complementary
#7E24BE #B1BE24 #24BE31
monochromatic
#3A1157 #5C1A8B #7E24BE #9C44DC #B777E5

Accessibility & contrast

On white

7.28
#7E24BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7E24BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24BE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24BE#FFFFFF#000000##FFFFFF
##7E24BE1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#724E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e24be;
/* rgb */ color: rgb(126, 36, 190);
/* oklch */ color: oklch(48.4% 0.221 305.7);
Tailwind
colors: {
  custom: {
    50: '#aa6bd3',
    500: '#7e24be',
    950: '#000000',
  },
}
SCSS
$custom: #7e24be;
$custom-light: #aa6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24be",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 190
  },
  "hsl": {
    "h": 275.065,
    "s": 68.142,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.22059,
    "h": 305.7
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#7E24BE
secondary
#97CD71
accent
#EB3D85
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7E24BE

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

Preview Lab → · Contrast checker → · Palette generator →

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