#7E2692#7E2692

#7E2692 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.178 H 319.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7E2692
RGBrgb(126, 38, 146)
HSLhsl(289, 59%, 36%)
HSVhsv(289, 74%, 57%)
CMYKcmyk(13.7%, 74%, 0%, 42.7%)
CIE-LABlab(33.77, 52.55, -41.30)
CIE-LCHlch(33.77, 66.84, 321.84°)
OKLaboklab(45.22% 0.1355 -0.1158)
OKLCHoklch(45.22% 0.178 319.5)
XYZxyz(14.4849, 7.8979, 27.9500)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2692 #3A9226
analogous
#482692 #7E2692 #922670
triadic
#7E2692 #927E26 #26927E
tetradic
#7E2692 #924826 #3A9226 #267092
square
#7E2692 #924826 #3A9226 #267092
split-complementary
#7E2692 #709226 #269248
monochromatic
#2A0D31 #541961 #7E2692 #A833C3 #BF5DD5

Accessibility & contrast

On white

8.14
#7E2692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7E2692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2692
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2692#FFFFFF#000000##FFFFFF
##7E26921.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#2E5290
Tritanopia (blue-blind)
#7E3B5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e2692;
/* rgb */ color: rgb(126, 38, 146);
/* oklch */ color: oklch(45.2% 0.178 319.5);
Tailwind
colors: {
  custom: {
    50: '#a769b2',
    500: '#7e2692',
    950: '#000000',
  },
}
SCSS
$custom: #7e2692;
$custom-light: #a769b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2692",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 288.889,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.17822,
    "h": 319.5
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#7E2692
secondary
#6CBA5A
accent
#E24663
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2692

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

Preview Lab → · Contrast checker → · Palette generator →

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