#7D489A#7D489A

#7D489A is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.136 H 312.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7D489A
RGBrgb(125, 72, 154)
HSLhsl(279, 36%, 44%)
HSVhsv(279, 53%, 60%)
CMYKcmyk(18.8%, 53.2%, 0%, 39.6%)
CIE-LABlab(40.13, 37.59, -36.03)
CIE-LCHlch(40.13, 52.07, 316.22°)
OKLaboklab(49.96% 0.0916 -0.1007)
OKLCHoklch(49.96% 0.136 312.3)
XYZxyz(16.6065, 11.3282, 31.8773)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D489A #659A48
analogous
#54489A #7D489A #9A488E
triadic
#7D489A #9A7D48 #489A7D
tetradic
#7D489A #9A5448 #659A48 #488E9A
square
#7D489A #9A5448 #659A48 #488E9A
split-complementary
#7D489A #8E9A48 #489A54
monochromatic
#392147 #5B3570 #7D489A #9B67B8 #B791CC

Accessibility & contrast

On white

6.43
#7D489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D489A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D489A#FFFFFF#000000##FFFFFF
##7D489A1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#7A556A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d489a;
/* rgb */ color: rgb(125, 72, 154);
/* oklch */ color: oklch(50.0% 0.136 312.3);
Tailwind
colors: {
  custom: {
    50: '#a57db8',
    500: '#7d489a',
    950: '#000000',
  },
}
SCSS
$custom: #7d489a;
$custom-light: #a57db8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d489a",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 278.78,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49958,
    "c": 0.1361,
    "h": 312.3
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#7D489A
secondary
#98B786
accent
#CC5C83
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D489A

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

Preview Lab → · Contrast checker → · Palette generator →

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