#7C489C#7C489C

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

Color values

HEX#7C489C
RGBrgb(124, 72, 156)
HSLhsl(277, 37%, 45%)
HSVhsv(277, 54%, 61%)
CMYKcmyk(20.5%, 53.8%, 0%, 38.8%)
CIE-LABlab(40.11, 37.77, -37.26)
CIE-LCHlch(40.11, 53.06, 315.39°)
OKLaboklab(49.96% 0.0905 -0.1043)
OKLCHoklch(49.96% 0.138 310.9)
XYZxyz(16.6292, 11.3204, 32.7551)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C489C #689C48
analogous
#52489C #7C489C #9C4892
triadic
#7C489C #9C7C48 #489C7C
tetradic
#7C489C #9C5248 #689C48 #48929C
square
#7C489C #9C5248 #689C48 #48929C
split-complementary
#7C489C #929C48 #489C52
monochromatic
#392148 #5B3572 #7C489C #9A68B9 #B692CD

Accessibility & contrast

On white

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

On black

3.26
#7C489C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C489C#FFFFFF#000000##FFFFFF
##7C489C1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#78566B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c489c;
/* rgb */ color: rgb(124, 72, 156);
/* oklch */ color: oklch(50.0% 0.138 310.9);
Tailwind
colors: {
  custom: {
    50: '#a47db9',
    500: '#7c489c',
    950: '#000000',
  },
}
SCSS
$custom: #7c489c;
$custom-light: #a47db9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c489c",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 277.143,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.13805,
    "h": 310.9
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#7C489C
secondary
#9AB887
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7C489C

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

Preview Lab → · Contrast checker → · Palette generator →

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