#7B489F#7B489F

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

Color values

HEX#7B489F
RGBrgb(123, 72, 159)
HSLhsl(275, 38%, 45%)
HSVhsv(275, 55%, 62%)
CMYKcmyk(22.6%, 54.7%, 0%, 37.6%)
CIE-LABlab(40.16, 38.20, -38.99)
CIE-LCHlch(40.16, 54.59, 314.42°)
OKLaboklab(50.02% 0.0894 -0.1094)
OKLCHoklch(50.02% 0.141 309.3)
XYZxyz(16.7425, 11.3492, 34.1028)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B489F #6C9F48
analogous
#4F489F #7B489F #9F4897
triadic
#7B489F #9F7B48 #489F7B
tetradic
#7B489F #9F4F48 #6C9F48 #48979F
square
#7B489F #9F4F48 #6C9F48 #48979F
split-complementary
#7B489F #979F48 #489F4F
monochromatic
#3A224B #5A3575 #7B489F #9969BB #B693CE

Accessibility & contrast

On white

6.42
#7B489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B489F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B489F#FFFFFF#000000##FFFFFF
##7B489F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#3F5F9D
Tritanopia (blue-blind)
#76576C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b489f;
/* rgb */ color: rgb(123, 72, 159);
/* oklch */ color: oklch(50.0% 0.141 309.3);
Tailwind
colors: {
  custom: {
    50: '#a37dbc',
    500: '#7b489f',
    950: '#000000',
  },
}
SCSS
$custom: #7b489f;
$custom-light: #a37dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b489f",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 275.172,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.14125,
    "h": 309.3
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#7B489F
secondary
#9DBA89
accent
#CE5A8A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7B489F

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

Preview Lab → · Contrast checker → · Palette generator →

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