#7B49AD#7B49AD

#7B49AD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.156 H 304.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7B49AD
RGBrgb(123, 73, 173)
HSLhsl(270, 41%, 48%)
HSVhsv(270, 58%, 68%)
CMYKcmyk(28.9%, 57.8%, 0%, 32.2%)
CIE-LABlab(41.21, 41.05, -45.66)
CIE-LCHlch(41.21, 61.40, 311.95°)
OKLaboklab(51.05% 0.0886 -0.1289)
OKLCHoklch(51.05% 0.156 304.5)
XYZxyz(18.0921, 11.9933, 40.8889)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49AD #7BAD49
analogous
#4949AD #7B49AD #AD49AD
triadic
#7B49AD #AD7B49 #49AD7B
tetradic
#7B49AD #AD4949 #7BAD49 #49ADAD
square
#7B49AD #AD4949 #7BAD49 #49ADAD
split-complementary
#7B49AD #ADAD49 #49AD49
monochromatic
#3E2557 #5C3782 #7B49AD #9A70C3 #B89BD5

Accessibility & contrast

On white

6.18
#7B49AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7B49AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49AD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49AD#FFFFFF#000000##FFFFFF
##7B49AD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#725C74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b49ad;
/* rgb */ color: rgb(123, 73, 173);
/* oklch */ color: oklch(51.1% 0.156 304.5);
Tailwind
colors: {
  custom: {
    50: '#a47ec6',
    500: '#7b49ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b49ad;
$custom-light: #a47ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49ad",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 173
  },
  "hsl": {
    "h": 270,
    "s": 40.65,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.15642,
    "h": 304.5
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#7B49AD
secondary
#A9C190
accent
#D15794
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7B49AD

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

Preview Lab → · Contrast checker → · Palette generator →

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