#7D489F#7D489F

#7D489F is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.142 H 310.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D489F
RGBrgb(125, 72, 159)
HSLhsl(277, 38%, 45%)
HSVhsv(277, 55%, 62%)
CMYKcmyk(21.4%, 54.7%, 0%, 37.6%)
CIE-LABlab(40.41, 38.75, -38.59)
CIE-LCHlch(40.41, 54.69, 315.12°)
OKLaboklab(50.26% 0.092 -0.1081)
OKLCHoklch(50.26% 0.142 310.4)
XYZxyz(17.0317, 11.4982, 34.1163)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D489F #6A9F48
analogous
#52489F #7D489F #9F4895
triadic
#7D489F #9F7D48 #489F7D
tetradic
#7D489F #9F5248 #6A9F48 #48959F
square
#7D489F #9F5248 #6A9F48 #48959F
split-complementary
#7D489F #959F48 #489F52
monochromatic
#3B224B #5C3575 #7D489F #9B69BB #B793CE

Accessibility & contrast

On white

6.36
#7D489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D489F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D489F#FFFFFF#000000##FFFFFF
##7D489F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#41609D
Tritanopia (blue-blind)
#79576C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d489f;
/* rgb */ color: rgb(125, 72, 159);
/* oklch */ color: oklch(50.3% 0.142 310.4);
Tailwind
colors: {
  custom: {
    50: '#a57dbc',
    500: '#7d489f',
    950: '#000000',
  },
}
SCSS
$custom: #7d489f;
$custom-light: #a57dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d489f",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 276.552,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.14196,
    "h": 310.4
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#7D489F
secondary
#9CBA89
accent
#CE5A87
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D489F

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

Preview Lab → · Contrast checker → · Palette generator →

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