#7E489A#7E489A

#7E489A is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.137 H 312.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7E489A
RGBrgb(126, 72, 154)
HSLhsl(280, 36%, 44%)
HSVhsv(280, 53%, 60%)
CMYKcmyk(18.2%, 53.2%, 0%, 39.6%)
CIE-LABlab(40.25, 37.88, -35.82)
CIE-LCHlch(40.25, 52.13, 316.59°)
OKLaboklab(50.08% 0.0929 -0.1)
OKLCHoklch(50.08% 0.137 312.9)
XYZxyz(16.7533, 11.4038, 31.8842)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E489A #649A48
analogous
#55489A #7E489A #9A488D
triadic
#7E489A #9A7E48 #489A7E
tetradic
#7E489A #9A5548 #649A48 #488D9A
square
#7E489A #9A5548 #649A48 #488D9A
split-complementary
#7E489A #8D9A48 #489A55
monochromatic
#3A2147 #5C3570 #7E489A #9C67B8 #B791CC

Accessibility & contrast

On white

6.40
#7E489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7E489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E489A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E489A#FFFFFF#000000##FFFFFF
##7E489A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#456098
Tritanopia (blue-blind)
#7B556A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e489a;
/* rgb */ color: rgb(126, 72, 154);
/* oklch */ color: oklch(50.1% 0.137 312.9);
Tailwind
colors: {
  custom: {
    50: '#a57db8',
    500: '#7e489a',
    950: '#000000',
  },
}
SCSS
$custom: #7e489a;
$custom-light: #a57db8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e489a",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 279.512,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.13651,
    "h": 312.9
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#7E489A
secondary
#97B786
accent
#CC5C82
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7E489A

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

Preview Lab → · Contrast checker → · Palette generator →

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