#7E24B3#7E24B3

#7E24B3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.210 H 308.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7E24B3
RGBrgb(126, 36, 179)
HSLhsl(278, 67%, 42%)
HSVhsv(278, 80%, 70%)
CMYKcmyk(29.6%, 79.9%, 0%, 29.8%)
CIE-LABlab(35.89, 60.07, -57.78)
CIE-LCHlch(35.89, 83.34, 316.11°)
OKLaboklab(47.46% 0.1317 -0.1642)
OKLCHoklch(47.46% 0.21 308.7)
XYZxyz(17.3701, 8.9524, 43.4520)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E24B3 #59B324
analogous
#3624B3 #7E24B3 #B324A1
triadic
#7E24B3 #B37E24 #24B37E
tetradic
#7E24B3 #B33624 #59B324 #24A1B3
square
#7E24B3 #B33624 #59B324 #24A1B3
split-complementary
#7E24B3 #A1B324 #24B336
monochromatic
#36104D #5A1A80 #7E24B3 #9E3CD8 #B86FE2

Accessibility & contrast

On white

7.53
#7E24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E24B3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E24B3#FFFFFF#000000##FFFFFF
##7E24B31.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#76496C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e24b3;
/* rgb */ color: rgb(126, 36, 179);
/* oklch */ color: oklch(47.5% 0.210 308.7);
Tailwind
colors: {
  custom: {
    50: '#a96acb',
    500: '#7e24b3',
    950: '#000000',
  },
}
SCSS
$custom: #7e24b3;
$custom-light: #a96acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e24b3",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 277.762,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.21046,
    "h": 308.7
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#7E24B3
secondary
#8DC96A
accent
#E93E7E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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