#7E2691#7E2691

#7E2691 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.177 H 319.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7E2691
RGBrgb(126, 38, 145)
HSLhsl(289, 58%, 36%)
HSVhsv(289, 74%, 57%)
CMYKcmyk(13.1%, 73.8%, 0%, 43.1%)
CIE-LABlab(33.70, 52.35, -40.79)
CIE-LCHlch(33.70, 66.37, 322.08°)
OKLaboklab(45.15% 0.1355 -0.1143)
OKLCHoklch(45.15% 0.177 319.9)
XYZxyz(14.4075, 7.8669, 27.5421)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2691 #399126
analogous
#482691 #7E2691 #91266E
triadic
#7E2691 #917E26 #26917E
tetradic
#7E2691 #914826 #399126 #266E91
square
#7E2691 #914826 #399126 #266E91
split-complementary
#7E2691 #6E9126 #269148
monochromatic
#2A0D30 #541961 #7E2691 #A833C1 #BF5DD5

Accessibility & contrast

On white

8.16
#7E2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7E2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2691
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2691#FFFFFF#000000##FFFFFF
##7E26911.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#7E3B59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2691;
/* rgb */ color: rgb(126, 38, 145);
/* oklch */ color: oklch(45.1% 0.177 319.9);
Tailwind
colors: {
  custom: {
    50: '#a769b2',
    500: '#7e2691',
    950: '#000000',
  },
}
SCSS
$custom: #7e2691;
$custom-light: #a769b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2691",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 289.346,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.17731,
    "h": 319.9
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#7E2691
secondary
#6ABA59
accent
#E24662
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2691

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

Preview Lab → · Contrast checker → · Palette generator →

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