#7E269F#7E269F

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

Color values

HEX#7E269F
RGBrgb(126, 38, 159)
HSLhsl(284, 61%, 39%)
HSVhsv(284, 76%, 62%)
CMYKcmyk(20.8%, 76.1%, 0%, 37.6%)
CIE-LABlab(34.65, 55.16, -47.80)
CIE-LCHlch(34.65, 72.99, 319.09°)
OKLaboklab(46.12% 0.1339 -0.1349)
OKLCHoklch(46.12% 0.19 314.8)
XYZxyz(15.5543, 8.3256, 33.5818)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E269F #479F26
analogous
#41269F #7E269F #9F2683
triadic
#7E269F #9F7E26 #269F7E
tetradic
#7E269F #9F4126 #479F26 #26839F
square
#7E269F #9F4126 #479F26 #26839F
split-complementary
#7E269F #839F26 #269F41
monochromatic
#300E3C #571A6E #7E269F #A434CE #BA65DA

Accessibility & contrast

On white

7.88
#7E269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7E269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E269F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E269F#FFFFFF#000000##FFFFFF
##7E269F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#20549C
Tritanopia (blue-blind)
#7B4161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e269f;
/* rgb */ color: rgb(126, 38, 159);
/* oklch */ color: oklch(46.1% 0.190 314.8);
Tailwind
colors: {
  custom: {
    50: '#a76abc',
    500: '#7e269f',
    950: '#000000',
  },
}
SCSS
$custom: #7e269f;
$custom-light: #a76abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e269f",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 283.636,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.19006,
    "h": 314.8
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#7E269F
secondary
#7BC061
accent
#E5436F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E269F

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

Preview Lab → · Contrast checker → · Palette generator →

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