#7E249D#7E249D

#7E249D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 315.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7E249D
RGBrgb(126, 36, 157)
HSLhsl(285, 63%, 38%)
HSVhsv(285, 77%, 62%)
CMYKcmyk(19.7%, 77.1%, 0%, 38.4%)
CIE-LABlab(34.26, 55.48, -47.22)
CIE-LCHlch(34.26, 72.86, 319.60°)
OKLaboklab(45.8% 0.1361 -0.1332)
OKLCHoklch(45.8% 0.19 315.6)
XYZxyz(15.3199, 8.1323, 32.6545)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E249D #439D24
analogous
#41249D #7E249D #9D247F
triadic
#7E249D #9D7E24 #249D7E
tetradic
#7E249D #9D4124 #439D24 #247F9D
square
#7E249D #9D4124 #439D24 #247F9D
split-complementary
#7E249D #7F9D24 #249D41
monochromatic
#2E0D39 #56196B #7E249D #A62FCF #BB61DB

Accessibility & contrast

On white

8.00
#7E249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E249D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E249D#FFFFFF#000000##FFFFFF
##7E249D1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#21539A
Tritanopia (blue-blind)
#7C3F5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e249d;
/* rgb */ color: rgb(126, 36, 157);
/* oklch */ color: oklch(45.8% 0.190 315.6);
Tailwind
colors: {
  custom: {
    50: '#a769bb',
    500: '#7e249d',
    950: '#000000',
  },
}
SCSS
$custom: #7e249d;
$custom-light: #a769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e249d",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 284.628,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.458,
    "c": 0.19039,
    "h": 315.6
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#7E249D
secondary
#76C05D
accent
#E6426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E249D

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

Preview Lab → · Contrast checker → · Palette generator →

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