#7D489E#7D489E

#7D489E is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.141 H 310.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D489E
RGBrgb(125, 72, 158)
HSLhsl(277, 37%, 45%)
HSVhsv(277, 54%, 62%)
CMYKcmyk(20.9%, 54.4%, 0%, 38%)
CIE-LABlab(40.35, 38.52, -38.08)
CIE-LCHlch(40.35, 54.16, 315.33°)
OKLaboklab(50.2% 0.0919 -0.1066)
OKLCHoklch(50.2% 0.141 310.8)
XYZxyz(16.9452, 11.4637, 33.6612)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D489E #699E48
analogous
#52489E #7D489E #9E4894
triadic
#7D489E #9E7D48 #489E7D
tetradic
#7D489E #9E5248 #699E48 #48949E
square
#7D489E #9E5248 #699E48 #48949E
split-complementary
#7D489E #949E48 #489E52
monochromatic
#3A224A #5C3574 #7D489E #9B69BB #B793CE

Accessibility & contrast

On white

6.38
#7D489E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7D489E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D489E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D489E#FFFFFF#000000##FFFFFF
##7D489E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305DA1
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#79576C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d489e;
/* rgb */ color: rgb(125, 72, 158);
/* oklch */ color: oklch(50.2% 0.141 310.8);
Tailwind
colors: {
  custom: {
    50: '#a57dbb',
    500: '#7d489e',
    950: '#000000',
  },
}
SCSS
$custom: #7d489e;
$custom-light: #a57dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d489e",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 276.977,
    "s": 37.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.14079,
    "h": 310.8
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#7D489E
secondary
#9BBA88
accent
#CD5A87
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D489E

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

Preview Lab → · Contrast checker → · Palette generator →

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