#7D489D#7D489D

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

Color values

HEX#7D489D
RGBrgb(125, 72, 157)
HSLhsl(277, 37%, 45%)
HSVhsv(277, 54%, 62%)
CMYKcmyk(20.4%, 54.1%, 0%, 38.4%)
CIE-LABlab(40.29, 38.29, -37.57)
CIE-LCHlch(40.29, 53.64, 315.54°)
OKLaboklab(50.14% 0.0919 -0.1051)
OKLCHoklch(50.14% 0.14 311.1)
XYZxyz(16.8595, 11.4294, 33.2097)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D489D #689D48
analogous
#53489D #7D489D #9D4892
triadic
#7D489D #9D7D48 #489D7D
tetradic
#7D489D #9D5348 #689D48 #48929D
square
#7D489D #9D5348 #689D48 #48929D
split-complementary
#7D489D #929D48 #489D53
monochromatic
#3A2249 #5C3573 #7D489D #9B68BA #B792CD

Accessibility & contrast

On white

6.39
#7D489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D489D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D489D#FFFFFF#000000##FFFFFF
##7D489D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#79566B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d489d;
/* rgb */ color: rgb(125, 72, 157);
/* oklch */ color: oklch(50.1% 0.140 311.1);
Tailwind
colors: {
  custom: {
    50: '#a57dba',
    500: '#7d489d',
    950: '#000000',
  },
}
SCSS
$custom: #7d489d;
$custom-light: #a57dba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d489d",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 277.412,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.13962,
    "h": 311.1
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#7D489D
secondary
#9AB988
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D489D

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

Preview Lab → · Contrast checker → · Palette generator →

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