#7E2290#7E2290

#7E2290 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.181 H 320.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7E2290
RGBrgb(126, 34, 144)
HSLhsl(290, 62%, 35%)
HSVhsv(290, 76%, 56%)
CMYKcmyk(12.5%, 76.4%, 0%, 43.5%)
CIE-LABlab(33.12, 53.63, -41.11)
CIE-LCHlch(33.12, 67.58, 322.53°)
OKLaboklab(44.72% 0.1395 -0.1152)
OKLCHoklch(44.72% 0.181 320.5)
XYZxyz(14.2096, 7.5940, 27.0975)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2290 #349022
analogous
#472290 #7E2290 #90226B
triadic
#7E2290 #907E22 #22907E
tetradic
#7E2290 #904722 #349022 #226B90
square
#7E2290 #904722 #349022 #226B90
split-complementary
#7E2290 #6B9022 #229047
monochromatic
#270B2D #53165E #7E2290 #A92EC2 #C255D7

Accessibility & contrast

On white

8.34
#7E2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7E2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2290
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2290#FFFFFF#000000##FFFFFF
##7E22901.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2E518E
Tritanopia (blue-blind)
#7F3858
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2290;
/* rgb */ color: rgb(126, 34, 144);
/* oklch */ color: oklch(44.7% 0.181 320.5);
Tailwind
colors: {
  custom: {
    50: '#a768b1',
    500: '#7e2290',
    950: '#000000',
  },
}
SCSS
$custom: #7e2290;
$custom-light: #a768b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2290",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 290.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.18096,
    "h": 320.5
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#7E2290
secondary
#64BB53
accent
#E5435D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2290

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

Preview Lab → · Contrast checker → · Palette generator →

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