#7E249A#7E249A

#7E249A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.188 H 316.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7E249A
RGBrgb(126, 36, 154)
HSLhsl(286, 62%, 37%)
HSVhsv(286, 77%, 60%)
CMYKcmyk(18.2%, 76.6%, 0%, 39.6%)
CIE-LABlab(34.05, 54.88, -45.74)
CIE-LCHlch(34.05, 71.44, 320.19°)
OKLaboklab(45.59% 0.1365 -0.1288)
OKLCHoklch(45.59% 0.188 316.7)
XYZxyz(15.0669, 8.0311, 31.3221)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E249A #409A24
analogous
#43249A #7E249A #9A247B
triadic
#7E249A #9A7E24 #249A7E
tetradic
#7E249A #9A4324 #409A24 #247B9A
square
#7E249A #9A4324 #409A24 #247B9A
split-complementary
#7E249A #7B9A24 #249A43
monochromatic
#2D0D37 #551868 #7E249A #A730CC #BC5FDA

Accessibility & contrast

On white

8.06
#7E249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7E249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E249A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E249A#FFFFFF#000000##FFFFFF
##7E249A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#7C3E5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e249a;
/* rgb */ color: rgb(126, 36, 154);
/* oklch */ color: oklch(45.6% 0.188 316.7);
Tailwind
colors: {
  custom: {
    50: '#a769b8',
    500: '#7e249a',
    950: '#000000',
  },
}
SCSS
$custom: #7e249a;
$custom-light: #a769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e249a",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 285.763,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.18767,
    "h": 316.7
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#7E249A
secondary
#73BF5B
accent
#E54369
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E249A

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

Preview Lab → · Contrast checker → · Palette generator →

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