#7E249F#7E249F

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

Color values

HEX#7E249F
RGBrgb(126, 36, 159)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.8%, 77.4%, 0%, 37.6%)
CIE-LABlab(34.40, 55.89, -48.21)
CIE-LCHlch(34.40, 73.81, 319.22°)
OKLaboklab(45.95% 0.1358 -0.136)
OKLCHoklch(45.95% 0.192 314.9)
XYZxyz(15.4920, 8.2011, 33.5611)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E249F #459F24
analogous
#40249F #7E249F #9F2482
triadic
#7E249F #9F7E24 #249F7E
tetradic
#7E249F #9F4024 #459F24 #24829F
square
#7E249F #9F4024 #459F24 #24829F
split-complementary
#7E249F #829F24 #249F40
monochromatic
#2F0D3B #56196D #7E249F #A530D0 #BB62DB

Accessibility & contrast

On white

7.95
#7E249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7E249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E249F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E249F#FFFFFF#000000##FFFFFF
##7E249F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#7B4061
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e249f;
/* rgb */ color: rgb(126, 36, 159);
/* oklch */ color: oklch(45.9% 0.192 314.9);
Tailwind
colors: {
  custom: {
    50: '#a869bc',
    500: '#7e249f',
    950: '#000000',
  },
}
SCSS
$custom: #7e249f;
$custom-light: #a869bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e249f",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 283.902,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.1922,
    "h": 314.9
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#7E249F
secondary
#79C15E
accent
#E6426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E249F

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

Preview Lab → · Contrast checker → · Palette generator →

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