#7E189F#7E189F

#7E189F is a mid, highly saturated purple. Relative luminance 0.076; OKLCH L 45.0% C 0.203 H 315.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7E189F
RGBrgb(126, 24, 159)
HSLhsl(285, 74%, 36%)
HSVhsv(285, 85%, 62%)
CMYKcmyk(20.8%, 84.9%, 0%, 37.6%)
CIE-LABlab(33.12, 59.60, -50.27)
CIE-LCHlch(33.12, 77.97, 319.85°)
OKLaboklab(45.05% 0.1451 -0.142)
OKLCHoklch(45.05% 0.203 315.6)
XYZxyz(15.1878, 7.5927, 33.4597)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E189F #399F18
analogous
#3A189F #7E189F #9F187C
triadic
#7E189F #9F7E18 #189F7E
tetradic
#7E189F #9F3A18 #399F18 #187C9F
square
#7E189F #9F3A18 #399F18 #187C9F
split-complementary
#7E189F #7C9F18 #189F3A
monochromatic
#2A0835 #54106A #7E189F #A820D4 #BF4DE4

Accessibility & contrast

On white

8.34
#7E189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7E189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E189F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E189F#FFFFFF#000000##FFFFFF
##7E189F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#11509C
Tritanopia (blue-blind)
#7B3B5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e189f;
/* rgb */ color: rgb(126, 24, 159);
/* oklch */ color: oklch(45.0% 0.203 315.6);
Tailwind
colors: {
  custom: {
    50: '#a865bc',
    500: '#7e189f',
    950: '#000000',
  },
}
SCSS
$custom: #7e189f;
$custom-light: #a865bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e189f",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 285.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.20301,
    "h": 315.6
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#7E189F
secondary
#6AC64D
accent
#F03765
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7E189F

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

Preview Lab → · Contrast checker → · Palette generator →

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