#7B489D#7B489D

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

Color values

HEX#7B489D
RGBrgb(123, 72, 157)
HSLhsl(276, 37%, 45%)
HSVhsv(276, 54%, 62%)
CMYKcmyk(21.7%, 54.1%, 0%, 38.4%)
CIE-LABlab(40.05, 37.73, -37.97)
CIE-LCHlch(40.05, 53.53, 314.82°)
OKLaboklab(49.9% 0.0893 -0.1064)
OKLCHoklch(49.9% 0.139 310)
XYZxyz(16.5704, 11.2803, 33.1961)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B489D #6A9D48
analogous
#50489D #7B489D #9D4895
triadic
#7B489D #9D7B48 #489D7B
tetradic
#7B489D #9D5048 #6A9D48 #48959D
square
#7B489D #9D5048 #6A9D48 #48959D
split-complementary
#7B489D #959D48 #489D50
monochromatic
#392249 #5A3573 #7B489D #9968BA #B692CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B489D#FFFFFF#000000##FFFFFF
##7B489D1.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)
#305CA0
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#77576B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b489d;
/* rgb */ color: rgb(123, 72, 157);
/* oklch */ color: oklch(49.9% 0.139 310.0);
Tailwind
colors: {
  custom: {
    50: '#a37dba',
    500: '#7b489d',
    950: '#000000',
  },
}
SCSS
$custom: #7b489d;
$custom-light: #a37dba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b489d",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 276,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.13887,
    "h": 310
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#7B489D
secondary
#9BB988
accent
#CD5B88
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7B489D

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

Preview Lab → · Contrast checker → · Palette generator →

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