#7E249E#7E249E

#7E249E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.191 H 315.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7E249E
RGBrgb(126, 36, 158)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.3%, 77.2%, 0%, 38%)
CIE-LABlab(34.33, 55.69, -47.71)
CIE-LCHlch(34.33, 73.33, 319.41°)
OKLaboklab(45.87% 0.1359 -0.1346)
OKLCHoklch(45.87% 0.191 315.3)
XYZxyz(15.4056, 8.1666, 33.1059)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E249E #449E24
analogous
#41249E #7E249E #9E2481
triadic
#7E249E #9E7E24 #249E7E
tetradic
#7E249E #9E4124 #449E24 #24819E
square
#7E249E #9E4124 #449E24 #24819E
split-complementary
#7E249E #819E24 #249E41
monochromatic
#2F0D3A #56196C #7E249E #A62FD0 #BB61DB

Accessibility & contrast

On white

7.98
#7E249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7E249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E249E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E249E#FFFFFF#000000##FFFFFF
##7E249E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#7B4060
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e249e;
/* rgb */ color: rgb(126, 36, 158);
/* oklch */ color: oklch(45.9% 0.191 315.3);
Tailwind
colors: {
  custom: {
    50: '#a769bb',
    500: '#7e249e',
    950: '#000000',
  },
}
SCSS
$custom: #7e249e;
$custom-light: #a769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e249e",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 284.262,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.19129,
    "h": 315.3
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#7E249E
secondary
#77C05E
accent
#E6426D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E249E

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

Preview Lab → · Contrast checker → · Palette generator →

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