#7E2890#7E2890

#7E2890 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.174 H 320.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7E2890
RGBrgb(126, 40, 144)
HSLhsl(290, 57%, 36%)
HSVhsv(290, 72%, 56%)
CMYKcmyk(12.5%, 72.2%, 0%, 43.5%)
CIE-LABlab(33.92, 51.38, -39.84)
CIE-LCHlch(33.92, 65.01, 322.21°)
OKLaboklab(45.28% 0.1335 -0.1115)
OKLCHoklch(45.28% 0.174 320.1)
XYZxyz(14.3964, 7.9675, 27.1597)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2890 #3A9028
analogous
#4A2890 #7E2890 #90286E
triadic
#7E2890 #907E28 #28907E
tetradic
#7E2890 #904A28 #3A9028 #286E90
square
#7E2890 #904A28 #3A9028 #286E90
split-complementary
#7E2890 #6E9028 #28904A
monochromatic
#2A0D30 #541B60 #7E2890 #A835C0 #BF60D3

Accessibility & contrast

On white

8.10
#7E2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7E2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2890
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2890#FFFFFF#000000##FFFFFF
##7E28901.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#7F3C59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2890;
/* rgb */ color: rgb(126, 40, 144);
/* oklch */ color: oklch(45.3% 0.174 320.1);
Tailwind
colors: {
  custom: {
    50: '#a76ab1',
    500: '#7e2890',
    950: '#000000',
  },
}
SCSS
$custom: #7e2890;
$custom-light: #a76ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2890",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 289.615,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45279,
    "c": 0.17399,
    "h": 320.1
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#7E2890
secondary
#6CB85C
accent
#E04862
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2890

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

Preview Lab → · Contrast checker → · Palette generator →

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