#7E2B89#7E2B89

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

Color values

HEX#7E2B89
RGBrgb(126, 43, 137)
HSLhsl(293, 52%, 35%)
HSVhsv(293, 69%, 54%)
CMYKcmyk(8%, 68.6%, 0%, 46.3%)
CIE-LABlab(33.92, 48.77, -35.52)
CIE-LCHlch(33.92, 60.34, 323.94°)
OKLaboklab(45.14% 0.1304 -0.0989)
OKLCHoklch(45.14% 0.164 322.8)
XYZxyz(13.9830, 7.9703, 24.4640)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B89 #36892B
analogous
#4F2B89 #7E2B89 #892B65
triadic
#7E2B89 #897E2B #2B897E
tetradic
#7E2B89 #894F2B #36892B #2B6589
square
#7E2B89 #894F2B #36892B #2B6589
split-complementary
#7E2B89 #65892B #2B894F
monochromatic
#280E2C #531C5A #7E2B89 #A93AB8 #C161CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2B89#FFFFFF#000000##FFFFFF
##7E2B891.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)
#124A8C
Deuteranopia (green-blind)
#395387
Tritanopia (blue-blind)
#803B56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2b89;
/* rgb */ color: rgb(126, 43, 137);
/* oklch */ color: oklch(45.1% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#a66cac',
    500: '#7e2b89',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b89;
$custom-light: #a66cac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b89",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 292.979,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.16372,
    "h": 322.8
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#7E2B89
secondary
#67B35C
accent
#DC4C5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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