#7B49D1#7B49D1

#7B49D1 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.199 H 295.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B49D1
RGBrgb(123, 73, 209)
HSLhsl(262, 60%, 55%)
HSVhsv(262, 65%, 82%)
CMYKcmyk(41.1%, 65.1%, 0%, 18%)
CIE-LABlab(43.62, 50.26, -62.77)
CIE-LCHlch(43.62, 80.41, 308.69°)
OKLaboklab(53.58% 0.0868 -0.1791)
OKLCHoklch(53.58% 0.199 295.8)
XYZxyz(22.0565, 13.5790, 61.7682)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D1 #9FD149
analogous
#495BD1 #7B49D1 #BF49D1
triadic
#7B49D1 #D17B49 #49D17B
tetradic
#7B49D1 #D1495B #9FD149 #49D1BF
square
#7B49D1 #D1495B #9FD149 #49D1BF
split-complementary
#7B49D1 #D1BF49 #5BD149
monochromatic
#43207F #5D2DB0 #7B49D1 #9E7ADD #C2ABEA

Accessibility & contrast

On white

5.65
#7B49D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B49D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D1#FFFFFF#000000##FFFFFF
##7B49D11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#656987
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b49d1;
/* rgb */ color: rgb(123, 73, 209);
/* oklch */ color: oklch(53.6% 0.199 295.8);
Tailwind
colors: {
  custom: {
    50: '#a77fe0',
    500: '#7b49d1',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d1;
$custom-light: #a77fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d1",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 262.059,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.19904,
    "h": 295.8
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#7B49D1
secondary
#C2D79E
accent
#E345A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49D1

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

Preview Lab → · Contrast checker → · Palette generator →

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