#7C489A#7C489A

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

Color values

HEX#7C489A
RGBrgb(124, 72, 154)
HSLhsl(278, 36%, 44%)
HSVhsv(278, 53%, 60%)
CMYKcmyk(19.5%, 53.2%, 0%, 39.6%)
CIE-LABlab(40.00, 37.31, -36.23)
CIE-LCHlch(40.00, 52.01, 315.84°)
OKLaboklab(49.84% 0.0903 -0.1013)
OKLCHoklch(49.84% 0.136 311.7)
XYZxyz(16.4612, 11.2533, 31.8705)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C489A #669A48
analogous
#53489A #7C489A #9A488F
triadic
#7C489A #9A7C48 #489A7C
tetradic
#7C489A #9A5348 #669A48 #488F9A
square
#7C489A #9A5348 #669A48 #488F9A
split-complementary
#7C489A #8F9A48 #489A53
monochromatic
#392147 #5A3570 #7C489A #9A67B8 #B691CC

Accessibility & contrast

On white

6.46
#7C489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7C489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C489A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C489A#FFFFFF#000000##FFFFFF
##7C489A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#435F98
Tritanopia (blue-blind)
#79566A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c489a;
/* rgb */ color: rgb(124, 72, 154);
/* oklch */ color: oklch(49.8% 0.136 311.7);
Tailwind
colors: {
  custom: {
    50: '#a47db8',
    500: '#7c489a',
    950: '#000000',
  },
}
SCSS
$custom: #7c489a;
$custom-light: #a47db8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c489a",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 278.049,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.13569,
    "h": 311.7
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C489A

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

Preview Lab → · Contrast checker → · Palette generator →

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