#7D49C5#7D49C5

#7D49C5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.185 H 299.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D49C5
RGBrgb(125, 73, 197)
HSLhsl(265, 52%, 53%)
HSVhsv(265, 63%, 77%)
CMYKcmyk(36.5%, 62.9%, 0%, 22.7%)
CIE-LABlab(43.00, 47.57, -56.83)
CIE-LCHlch(43.00, 74.11, 309.93°)
OKLaboklab(52.91% 0.0906 -0.1616)
OKLCHoklch(52.91% 0.185 299.3)
XYZxyz(20.9155, 13.1561, 54.2499)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49C5 #91C549
analogous
#4953C5 #7D49C5 #BB49C5
triadic
#7D49C5 #C57D49 #49C57D
tetradic
#7D49C5 #C54953 #91C549 #49C5BB
square
#7D49C5 #C54953 #91C549 #49C5BB
split-complementary
#7D49C5 #C5BB49 #53C549
monochromatic
#442470 #60329E #7D49C5 #9E77D4 #BFA6E3

Accessibility & contrast

On white

5.78
#7D49C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D49C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D49C5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D49C5#FFFFFF#000000##FFFFFF
##7D49C51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#1064C2
Tritanopia (blue-blind)
#6D6480
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d49c5;
/* rgb */ color: rgb(125, 73, 197);
/* oklch */ color: oklch(52.9% 0.185 299.3);
Tailwind
colors: {
  custom: {
    50: '#a77ed7',
    500: '#7d49c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d49c5;
$custom-light: #a77ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49c5",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 197
  },
  "hsl": {
    "h": 265.161,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.18529,
    "h": 299.3
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#7D49C5
secondary
#B9D09A
accent
#DB4D9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D49C5

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

Preview Lab → · Contrast checker → · Palette generator →

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