#7D49D4#7D49D4

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

Color values

HEX#7D49D4
RGBrgb(125, 73, 212)
HSLhsl(262, 62%, 56%)
HSVhsv(262, 66%, 83%)
CMYKcmyk(41%, 65.6%, 0%, 16.9%)
CIE-LABlab(44.06, 51.44, -63.77)
CIE-LCHlch(44.06, 81.93, 308.89°)
OKLaboklab(54.01% 0.0891 -0.182)
OKLCHoklch(54.01% 0.203 296.1)
XYZxyz(22.7205, 13.8781, 63.7563)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49D4 #A0D449
analogous
#495AD4 #7D49D4 #C249D4
triadic
#7D49D4 #D47D49 #49D47D
tetradic
#7D49D4 #D4495A #A0D449 #49D4C2
square
#7D49D4 #D4495A #A0D449 #49D4C2
split-complementary
#7D49D4 #D4C249 #5AD449
monochromatic
#451F84 #5E2BB5 #7D49D4 #A07BE0 #C4ACEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D49D4#FFFFFF#000000##FFFFFF
##7D49D41.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)
#0069D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#676A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d49d4;
/* rgb */ color: rgb(125, 73, 212);
/* oklch */ color: oklch(54.0% 0.203 296.1);
Tailwind
colors: {
  custom: {
    50: '#a97fe2',
    500: '#7d49d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d49d4;
$custom-light: #a97fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49d4",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 262.446,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.20269,
    "h": 296.1
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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