#7B49D9#7B49D9

#7B49D9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.208 H 294.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7B49D9
RGBrgb(123, 73, 217)
HSLhsl(261, 65%, 57%)
HSVhsv(261, 66%, 85%)
CMYKcmyk(43.3%, 66.4%, 0%, 14.9%)
CIE-LABlab(44.21, 52.37, -66.40)
CIE-LCHlch(44.21, 84.56, 308.26°)
OKLaboklab(54.19% 0.0858 -0.1898)
OKLCHoklch(54.19% 0.208 294.3)
XYZxyz(23.0719, 13.9852, 67.1160)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D9 #A7D949
analogous
#495FD9 #7B49D9 #C349D9
triadic
#7B49D9 #D97B49 #49D97B
tetradic
#7B49D9 #D9495F #A7D949 #49D9C3
square
#7B49D9 #D9495F #A7D949 #49D9C3
split-complementary
#7B49D9 #D9C349 #5FD949
monochromatic
#431D8B #5C28BD #7B49D9 #A07CE4 #C4AEEE

Accessibility & contrast

On white

5.53
#7B49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7B49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D9#FFFFFF#000000##FFFFFF
##7B49D91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#616C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b49d9;
/* rgb */ color: rgb(123, 73, 217);
/* oklch */ color: oklch(54.2% 0.208 294.3);
Tailwind
colors: {
  custom: {
    50: '#a87fe6',
    500: '#7b49d9',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d9;
$custom-light: #a87fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d9",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 260.833,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.2083,
    "h": 294.3
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#7B49D9
secondary
#C8DCA2
accent
#E83FAE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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