#7E49BB#7E49BB

#7E49BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.174 H 302.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7E49BB
RGBrgb(126, 73, 187)
HSLhsl(268, 46%, 51%)
HSVhsv(268, 61%, 73%)
CMYKcmyk(32.6%, 61%, 0%, 26.7%)
CIE-LABlab(42.44, 45.26, -51.90)
CIE-LCHlch(42.44, 68.86, 311.09°)
OKLaboklab(52.32% 0.0925 -0.1471)
OKLCHoklch(52.32% 0.174 302.2)
XYZxyz(19.9543, 12.7885, 48.4213)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E49BB #86BB49
analogous
#494DBB #7E49BB #B749BB
triadic
#7E49BB #BB7E49 #49BB7E
tetradic
#7E49BB #BB494D #86BB49 #49BBB7
square
#7E49BB #BB494D #86BB49 #49BBB7
split-complementary
#7E49BB #BBB749 #4DBB49
monochromatic
#432564 #603691 #7E49BB #9E76CC #BDA2DC

Accessibility & contrast

On white

5.90
#7E49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7E49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E49BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E49BB#FFFFFF#000000##FFFFFF
##7E49BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2764B8
Tritanopia (blue-blind)
#72617B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e49bb;
/* rgb */ color: rgb(126, 73, 187);
/* oklch */ color: oklch(52.3% 0.174 302.2);
Tailwind
colors: {
  custom: {
    50: '#a77ed0',
    500: '#7e49bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e49bb;
$custom-light: #a77ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e49bb",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 267.895,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.17373,
    "h": 302.2
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#7E49BB
secondary
#B2C997
accent
#D55398
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7E49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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