#7B49D7#7B49D7

#7B49D7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.206 H 294.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7B49D7
RGBrgb(123, 73, 215)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 66%, 84%)
CMYKcmyk(42.8%, 66%, 0%, 15.7%)
CIE-LABlab(44.06, 51.84, -65.49)
CIE-LCHlch(44.06, 83.53, 308.36°)
OKLaboklab(54.04% 0.0861 -0.1872)
OKLCHoklch(54.04% 0.206 294.7)
XYZxyz(22.8134, 13.8818, 65.7543)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D7 #A5D749
analogous
#495ED7 #7B49D7 #C249D7
triadic
#7B49D7 #D77B49 #49D77B
tetradic
#7B49D7 #D7495E #A5D749 #49D7C2
square
#7B49D7 #D7495E #A5D749 #49D7C2
split-complementary
#7B49D7 #D7C249 #5ED749
monochromatic
#431E88 #5C29BA #7B49D7 #9F7BE2 #C4ADED

Accessibility & contrast

On white

5.56
#7B49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7B49D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D7#FFFFFF#000000##FFFFFF
##7B49D71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#626B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b49d7;
/* rgb */ color: rgb(123, 73, 215);
/* oklch */ color: oklch(54.0% 0.206 294.7);
Tailwind
colors: {
  custom: {
    50: '#a87fe4',
    500: '#7b49d7',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d7;
$custom-light: #a87fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d7",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 261.127,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.206,
    "h": 294.7
  },
  "luminance": 0.13882
}

Semantic roles & 50–950 ramp

primary
#7B49D7
secondary
#C7DBA1
accent
#E741AC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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