#7E2390#7E2390

#7E2390 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.180 H 320.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7E2390
RGBrgb(126, 35, 144)
HSLhsl(290, 61%, 35%)
HSVhsv(290, 76%, 56%)
CMYKcmyk(12.5%, 75.7%, 0%, 43.5%)
CIE-LABlab(33.25, 53.28, -40.91)
CIE-LCHlch(33.25, 67.17, 322.48°)
OKLaboklab(44.8% 0.1386 -0.1146)
OKLCHoklch(44.8% 0.18 320.4)
XYZxyz(14.2387, 7.6520, 27.1071)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2390 #359023
analogous
#482390 #7E2390 #90236B
triadic
#7E2390 #907E23 #23907E
tetradic
#7E2390 #904823 #359023 #236B90
square
#7E2390 #904823 #359023 #236B90
split-complementary
#7E2390 #6B9023 #239048
monochromatic
#280B2E #53175F #7E2390 #A92FC1 #C157D6

Accessibility & contrast

On white

8.30
#7E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2390
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2390#FFFFFF#000000##FFFFFF
##7E23901.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2390;
/* rgb */ color: rgb(126, 35, 144);
/* oklch */ color: oklch(44.8% 0.180 320.4);
Tailwind
colors: {
  custom: {
    50: '#a768b1',
    500: '#7e2390',
    950: '#000000',
  },
}
SCSS
$custom: #7e2390;
$custom-light: #a768b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2390",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 290.092,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44803,
    "c": 0.17986,
    "h": 320.4
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#7E2390
secondary
#65BA54
accent
#E4445E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2390

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

Preview Lab → · Contrast checker → · Palette generator →

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