#7B49BD#7B49BD

#7B49BD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.176 H 300.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7B49BD
RGBrgb(123, 73, 189)
HSLhsl(266, 47%, 51%)
HSVhsv(266, 61%, 74%)
CMYKcmyk(34.9%, 61.4%, 0%, 25.9%)
CIE-LABlab(42.23, 45.07, -53.42)
CIE-LCHlch(42.23, 69.90, 310.16°)
OKLaboklab(52.13% 0.0884 -0.1517)
OKLCHoklch(52.13% 0.176 300.2)
XYZxyz(19.7340, 12.6500, 49.5363)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49BD #8BBD49
analogous
#4951BD #7B49BD #B549BD
triadic
#7B49BD #BD7B49 #49BD7B
tetradic
#7B49BD #BD4951 #8BBD49 #49BDB5
square
#7B49BD #BD4951 #8BBD49 #49BDB5
split-complementary
#7B49BD #BDB549 #51BD49
monochromatic
#412566 #5E3593 #7B49BD #9C76CD #BCA3DE

Accessibility & contrast

On white

5.95
#7B49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7B49BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49BD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49BD#FFFFFF#000000##FFFFFF
##7B49BD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#6D627C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b49bd;
/* rgb */ color: rgb(123, 73, 189);
/* oklch */ color: oklch(52.1% 0.176 300.2);
Tailwind
colors: {
  custom: {
    50: '#a57ed2',
    500: '#7b49bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b49bd;
$custom-light: #a57ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49bd",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 265.862,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.17553,
    "h": 300.2
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#7B49BD
secondary
#B4CA97
accent
#D6519D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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