#7B49D3#7B49D3

#7B49D3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.201 H 295.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7B49D3
RGBrgb(123, 73, 211)
HSLhsl(262, 61%, 56%)
HSVhsv(262, 65%, 83%)
CMYKcmyk(41.7%, 65.4%, 0%, 17.3%)
CIE-LABlab(43.77, 50.79, -63.68)
CIE-LCHlch(43.77, 81.45, 308.57°)
OKLaboklab(53.73% 0.0866 -0.1818)
OKLCHoklch(53.73% 0.201 295.5)
XYZxyz(22.3057, 13.6787, 63.0804)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D3 #A1D349
analogous
#495CD3 #7B49D3 #C049D3
triadic
#7B49D3 #D37B49 #49D37B
tetradic
#7B49D3 #D3495C #A1D349 #49D3C0
square
#7B49D3 #D3495C #A1D349 #49D3C0
split-complementary
#7B49D3 #D3C049 #5CD349
monochromatic
#431F82 #5D2BB3 #7B49D3 #9F7ADF #C2ACEB

Accessibility & contrast

On white

5.62
#7B49D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7B49D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D3#FFFFFF#000000##FFFFFF
##7B49D31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#646988
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b49d3;
/* rgb */ color: rgb(123, 73, 211);
/* oklch */ color: oklch(53.7% 0.201 295.5);
Tailwind
colors: {
  custom: {
    50: '#a87fe1',
    500: '#7b49d3',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d3;
$custom-light: #a87fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d3",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 261.739,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.20137,
    "h": 295.5
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#7B49D3
secondary
#C4D99F
accent
#E444AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49D3

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

Preview Lab → · Contrast checker → · Palette generator →

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