#7B49D4#7B49D4

#7B49D4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.203 H 295.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7B49D4
RGBrgb(123, 73, 212)
HSLhsl(262, 62%, 56%)
HSVhsv(262, 66%, 83%)
CMYKcmyk(42%, 65.6%, 0%, 16.9%)
CIE-LABlab(43.84, 51.05, -64.13)
CIE-LCHlch(43.84, 81.97, 308.52°)
OKLaboklab(53.81% 0.0864 -0.1832)
OKLCHoklch(53.81% 0.203 295.3)
XYZxyz(22.4314, 13.7290, 63.7427)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D4 #A2D449
analogous
#495CD4 #7B49D4 #C149D4
triadic
#7B49D4 #D47B49 #49D47B
tetradic
#7B49D4 #D4495C #A2D449 #49D4C1
square
#7B49D4 #D4495C #A2D449 #49D4C1
split-complementary
#7B49D4 #D4C149 #5CD449
monochromatic
#431F84 #5D2BB5 #7B49D4 #9F7BE0 #C3ACEB

Accessibility & contrast

On white

5.61
#7B49D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7B49D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D4#FFFFFF#000000##FFFFFF
##7B49D41.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#636A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b49d4;
/* rgb */ color: rgb(123, 73, 212);
/* oklch */ color: oklch(53.8% 0.203 295.3);
Tailwind
colors: {
  custom: {
    50: '#a87fe2',
    500: '#7b49d4',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d4;
$custom-light: #a87fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d4",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 261.583,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53808,
    "c": 0.20253,
    "h": 295.3
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#7B49D4
secondary
#C4D9A0
accent
#E543AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7B49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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