#7E2C90#7E2C90

#7E2C90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.169 H 319.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7E2C90
RGBrgb(126, 44, 144)
HSLhsl(289, 53%, 37%)
HSVhsv(289, 69%, 56%)
CMYKcmyk(12.5%, 69.4%, 0%, 43.5%)
CIE-LABlab(34.50, 49.72, -38.90)
CIE-LCHlch(34.50, 63.13, 321.96°)
OKLaboklab(45.7% 0.1291 -0.1088)
OKLCHoklch(45.7% 0.169 319.9)
XYZxyz(14.5383, 8.2513, 27.2070)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C90 #3E902C
analogous
#4C2C90 #7E2C90 #902C70
triadic
#7E2C90 #907E2C #2C907E
tetradic
#7E2C90 #904C2C #3E902C #2C7090
square
#7E2C90 #904C2C #3E902C #2C7090
split-complementary
#7E2C90 #70902C #2C904C
monochromatic
#2C0F32 #551E61 #7E2C90 #A73ABF #BD66D0

Accessibility & contrast

On white

7.92
#7E2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7E2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C90
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C90#FFFFFF#000000##FFFFFF
##7E2C901.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C93
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#7E3E5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e2c90;
/* rgb */ color: rgb(126, 44, 144);
/* oklch */ color: oklch(45.7% 0.169 319.9);
Tailwind
colors: {
  custom: {
    50: '#a66cb1',
    500: '#7e2c90',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c90;
$custom-light: #a66cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c90",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 289.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.16889,
    "h": 319.9
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#7E2C90
secondary
#70B761
accent
#DD4B65
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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