#7E2190#7E2190

#7E2190 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.182 H 320.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7E2190
RGBrgb(126, 33, 144)
HSLhsl(290, 63%, 35%)
HSVhsv(290, 77%, 56%)
CMYKcmyk(12.5%, 77.1%, 0%, 43.5%)
CIE-LABlab(33.00, 53.98, -41.30)
CIE-LCHlch(33.00, 67.97, 322.58°)
OKLaboklab(44.63% 0.1405 -0.1158)
OKLCHoklch(44.63% 0.182 320.5)
XYZxyz(14.1815, 7.5377, 27.0881)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2190 #339021
analogous
#462190 #7E2190 #90216B
triadic
#7E2190 #907E21 #21907E
tetradic
#7E2190 #904621 #339021 #216B90
square
#7E2190 #904621 #339021 #216B90
split-complementary
#7E2190 #6B9021 #219046
monochromatic
#270A2C #52165E #7E2190 #AA2CC2 #C254D8

Accessibility & contrast

On white

8.38
#7E2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2190
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2190#FFFFFF#000000##FFFFFF
##7E21901.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#7F3857
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2190;
/* rgb */ color: rgb(126, 33, 144);
/* oklch */ color: oklch(44.6% 0.182 320.5);
Tailwind
colors: {
  custom: {
    50: '#a767b1',
    500: '#7e2190',
    950: '#000000',
  },
}
SCSS
$custom: #7e2190;
$custom-light: #a767b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2190",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 290.27,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.18204,
    "h": 320.5
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#7E2190
secondary
#63BB51
accent
#E6425D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2190

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

Preview Lab → · Contrast checker → · Palette generator →

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