#7B49D8#7B49D8

#7B49D8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.207 H 294.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7B49D8
RGBrgb(123, 73, 216)
HSLhsl(261, 65%, 57%)
HSVhsv(261, 66%, 85%)
CMYKcmyk(43.1%, 66.2%, 0%, 15.3%)
CIE-LABlab(44.14, 52.11, -65.95)
CIE-LCHlch(44.14, 84.05, 308.31°)
OKLaboklab(54.11% 0.0859 -0.1885)
OKLCHoklch(54.11% 0.207 294.5)
XYZxyz(22.9423, 13.9333, 66.4331)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D8 #A6D849
analogous
#495FD8 #7B49D8 #C349D8
triadic
#7B49D8 #D87B49 #49D87B
tetradic
#7B49D8 #D8495F #A6D849 #49D8C3
square
#7B49D8 #D8495F #A6D849 #49D8C3
split-complementary
#7B49D8 #D8C349 #5FD849
monochromatic
#431D89 #5C28BC #7B49D8 #A07BE3 #C4AEEE

Accessibility & contrast

On white

5.55
#7B49D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B49D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D8#FFFFFF#000000##FFFFFF
##7B49D81.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#616B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b49d8;
/* rgb */ color: rgb(123, 73, 216);
/* oklch */ color: oklch(54.1% 0.207 294.5);
Tailwind
colors: {
  custom: {
    50: '#a87fe5',
    500: '#7b49d8',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d8;
$custom-light: #a87fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d8",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 260.979,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.20715,
    "h": 294.5
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#7B49D8
secondary
#C7DCA1
accent
#E840AD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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