#7D49D9#7D49D9

#7D49D9 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.208 H 295.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D49D9
RGBrgb(125, 73, 217)
HSLhsl(262, 65%, 57%)
HSVhsv(262, 66%, 85%)
CMYKcmyk(42.4%, 66.4%, 0%, 14.9%)
CIE-LABlab(44.42, 52.75, -66.04)
CIE-LCHlch(44.42, 84.52, 308.61°)
OKLaboklab(54.39% 0.0885 -0.1887)
OKLCHoklch(54.39% 0.208 295.1)
XYZxyz(23.3610, 14.1343, 67.1295)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49D9 #A5D949
analogous
#495DD9 #7D49D9 #C549D9
triadic
#7D49D9 #D97D49 #49D97D
tetradic
#7D49D9 #D9495D #A5D949 #49D9C5
square
#7D49D9 #D9495D #A5D949 #49D9C5
split-complementary
#7D49D9 #D9C549 #5DD949
monochromatic
#451D8B #5E28BD #7D49D9 #A17CE4 #C5AEEE

Accessibility & contrast

On white

5.49
#7D49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7D49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D49D9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D49D9#FFFFFF#000000##FFFFFF
##7D49D91.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#646B8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d49d9;
/* rgb */ color: rgb(125, 73, 217);
/* oklch */ color: oklch(54.4% 0.208 295.1);
Tailwind
colors: {
  custom: {
    50: '#a97fe6',
    500: '#7d49d9',
    950: '#000000',
  },
}
SCSS
$custom: #7d49d9;
$custom-light: #a97fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49d9",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 261.667,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.20844,
    "h": 295.1
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#7D49D9
secondary
#C7DCA2
accent
#E83FAB
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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