#7B49D5#7B49D5

#7B49D5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.204 H 295.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7B49D5
RGBrgb(123, 73, 213)
HSLhsl(261, 63%, 56%)
HSVhsv(261, 66%, 84%)
CMYKcmyk(42.3%, 65.7%, 0%, 16.5%)
CIE-LABlab(43.92, 51.31, -64.59)
CIE-LCHlch(43.92, 82.49, 308.47°)
OKLaboklab(53.88% 0.0863 -0.1845)
OKLCHoklch(53.88% 0.204 295.1)
XYZxyz(22.5580, 13.7796, 64.4091)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D5 #A3D549
analogous
#495DD5 #7B49D5 #C149D5
triadic
#7B49D5 #D57B49 #49D57B
tetradic
#7B49D5 #D5495D #A3D549 #49D5C1
square
#7B49D5 #D5495D #A3D549 #49D5C1
split-complementary
#7B49D5 #D5C149 #5DD549
monochromatic
#431F85 #5C2AB7 #7B49D5 #9F7BE0 #C3ACEC

Accessibility & contrast

On white

5.59
#7B49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D5#FFFFFF#000000##FFFFFF
##7B49D51.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#636A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b49d5;
/* rgb */ color: rgb(123, 73, 213);
/* oklch */ color: oklch(53.9% 0.204 295.1);
Tailwind
colors: {
  custom: {
    50: '#a87fe3',
    500: '#7b49d5',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d5;
$custom-light: #a87fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d5",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 261.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.20369,
    "h": 295.1
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#7B49D5
secondary
#C5DAA0
accent
#E642AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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