#7C489B#7C489B

#7C489B is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.137 H 311.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7C489B
RGBrgb(124, 72, 155)
HSLhsl(278, 37%, 45%)
HSVhsv(278, 54%, 61%)
CMYKcmyk(20%, 53.5%, 0%, 39.2%)
CIE-LABlab(40.06, 37.54, -36.75)
CIE-LCHlch(40.06, 52.53, 315.61°)
OKLaboklab(49.9% 0.0904 -0.1028)
OKLCHoklch(49.9% 0.137 311.3)
XYZxyz(16.5449, 11.2867, 32.3110)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C489B #679B48
analogous
#52489B #7C489B #9B4891
triadic
#7C489B #9B7C48 #489B7C
tetradic
#7C489B #9B5248 #679B48 #48919B
square
#7C489B #9B5248 #679B48 #48919B
split-complementary
#7C489B #919B48 #489B52
monochromatic
#392147 #5B3571 #7C489B #9A68B9 #B691CC

Accessibility & contrast

On white

6.45
#7C489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C489B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C489B#FFFFFF#000000##FFFFFF
##7C489B1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#78566A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c489b;
/* rgb */ color: rgb(124, 72, 155);
/* oklch */ color: oklch(49.9% 0.137 311.3);
Tailwind
colors: {
  custom: {
    50: '#a47db9',
    500: '#7c489b',
    950: '#000000',
  },
}
SCSS
$custom: #7c489b;
$custom-light: #a47db9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c489b",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 277.59,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.13687,
    "h": 311.3
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#7C489B
secondary
#99B887
accent
#CD5B86
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7C489B

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

Preview Lab → · Contrast checker → · Palette generator →

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