#7E269B#7E269B

#7E269B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.186 H 316.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7E269B
RGBrgb(126, 38, 155)
HSLhsl(285, 61%, 38%)
HSVhsv(285, 75%, 61%)
CMYKcmyk(18.7%, 75.5%, 0%, 39.2%)
CIE-LABlab(34.37, 54.35, -45.82)
CIE-LCHlch(34.37, 71.08, 319.87°)
OKLaboklab(45.84% 0.1345 -0.1291)
OKLCHoklch(45.84% 0.186 316.2)
XYZxyz(15.2128, 8.1890, 31.7833)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E269B #439B26
analogous
#43269B #7E269B #9B267E
triadic
#7E269B #9B7E26 #269B7E
tetradic
#7E269B #9B4326 #439B26 #267E9B
square
#7E269B #9B4326 #439B26 #267E9B
split-complementary
#7E269B #7E9B26 #269B43
monochromatic
#2E0E39 #561A6A #7E269B #A632CC #BB63D9

Accessibility & contrast

On white

7.96
#7E269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E269B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E269B#FFFFFF#000000##FFFFFF
##7E269B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#255398
Tritanopia (blue-blind)
#7C3F5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e269b;
/* rgb */ color: rgb(126, 38, 155);
/* oklch */ color: oklch(45.8% 0.186 316.2);
Tailwind
colors: {
  custom: {
    50: '#a76ab9',
    500: '#7e269b',
    950: '#000000',
  },
}
SCSS
$custom: #7e269b;
$custom-light: #a76ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e269b",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 285.128,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.1864,
    "h": 316.2
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#7E269B
secondary
#76BE5F
accent
#E4446C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E269B

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

Preview Lab → · Contrast checker → · Palette generator →

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