#7E269E#7E269E

#7E269E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.189 H 315.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7E269E
RGBrgb(126, 38, 158)
HSLhsl(284, 61%, 38%)
HSVhsv(284, 76%, 62%)
CMYKcmyk(20.3%, 75.9%, 0%, 38%)
CIE-LABlab(34.58, 54.96, -47.30)
CIE-LCHlch(34.58, 72.51, 319.28°)
OKLaboklab(46.05% 0.1341 -0.1334)
OKLCHoklch(46.05% 0.189 315.1)
XYZxyz(15.4678, 8.2910, 33.1267)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E269E #469E26
analogous
#42269E #7E269E #9E2682
triadic
#7E269E #9E7E26 #269E7E
tetradic
#7E269E #9E4226 #469E26 #26829E
square
#7E269E #9E4226 #469E26 #26829E
split-complementary
#7E269E #829E26 #269E42
monochromatic
#2F0E3B #571A6D #7E269E #A533CE #BB65DA

Accessibility & contrast

On white

7.90
#7E269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7E269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E269E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E269E#FFFFFF#000000##FFFFFF
##7E269E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#21549B
Tritanopia (blue-blind)
#7B4161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e269e;
/* rgb */ color: rgb(126, 38, 158);
/* oklch */ color: oklch(46.1% 0.189 315.1);
Tailwind
colors: {
  custom: {
    50: '#a76abb',
    500: '#7e269e',
    950: '#000000',
  },
}
SCSS
$custom: #7e269e;
$custom-light: #a76abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e269e",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 284,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.18915,
    "h": 315.1
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#7E269E
secondary
#7AC060
accent
#E4436E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E269E

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

Preview Lab → · Contrast checker → · Palette generator →

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