#7E2095#7E2095

#7E2095 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.187 H 318.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2095
RGBrgb(126, 32, 149)
HSLhsl(288, 65%, 35%)
HSVhsv(288, 79%, 58%)
CMYKcmyk(15.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(33.22, 55.28, -44.02)
CIE-LCHlch(33.22, 70.67, 321.47°)
OKLaboklab(44.89% 0.1408 -0.1237)
OKLCHoklch(44.89% 0.187 318.7)
XYZxyz(14.5448, 7.6393, 29.1363)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2095 #379520
analogous
#432095 #7E2095 #952071
triadic
#7E2095 #957E20 #20957E
tetradic
#7E2095 #954320 #379520 #207195
square
#7E2095 #954320 #379520 #207195
split-complementary
#7E2095 #719520 #209543
monochromatic
#290A30 #531563 #7E2095 #A92BC7 #C055DA

Accessibility & contrast

On white

8.31
#7E2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2095
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2095#FFFFFF#000000##FFFFFF
##7E20951.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#7E395A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2095;
/* rgb */ color: rgb(126, 32, 149);
/* oklch */ color: oklch(44.9% 0.187 318.7);
Tailwind
colors: {
  custom: {
    50: '#a767b5',
    500: '#7e2095',
    950: '#000000',
  },
}
SCSS
$custom: #7e2095;
$custom-light: #a767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2095",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 288.205,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44891,
    "c": 0.18742,
    "h": 318.7
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#7E2095
secondary
#68BE53
accent
#E84061
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2095

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

Preview Lab → · Contrast checker → · Palette generator →

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