#7E269C#7E269C

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

Color values

HEX#7E269C
RGBrgb(126, 38, 156)
HSLhsl(285, 61%, 38%)
HSVhsv(285, 76%, 61%)
CMYKcmyk(19.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(34.44, 54.55, -46.32)
CIE-LCHlch(34.44, 71.56, 319.67°)
OKLaboklab(45.91% 0.1344 -0.1305)
OKLCHoklch(45.91% 0.187 315.8)
XYZxyz(15.2971, 8.2227, 32.2274)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E269C #449C26
analogous
#43269C #7E269C #9C267F
triadic
#7E269C #9C7E26 #269C7E
tetradic
#7E269C #9C4326 #449C26 #267F9C
square
#7E269C #9C4326 #449C26 #267F9C
split-complementary
#7E269C #7F9C26 #269C43
monochromatic
#2F0E3A #561A6B #7E269C #A632CD #BB63D9

Accessibility & contrast

On white

7.94
#7E269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E269C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E269C#FFFFFF#000000##FFFFFF
##7E269C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#7C405F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e269c;
/* rgb */ color: rgb(126, 38, 156);
/* oklch */ color: oklch(45.9% 0.187 315.8);
Tailwind
colors: {
  custom: {
    50: '#a76aba',
    500: '#7e269c',
    950: '#000000',
  },
}
SCSS
$custom: #7e269c;
$custom-light: #a76aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e269c",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 284.746,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45909,
    "c": 0.18732,
    "h": 315.8
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#7E269C
secondary
#77BF5F
accent
#E4446D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E269C

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

Preview Lab → · Contrast checker → · Palette generator →

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