#7D49B0#7D49B0

#7D49B0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.161 H 304.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7D49B0
RGBrgb(125, 73, 176)
HSLhsl(270, 41%, 49%)
HSVhsv(270, 59%, 69%)
CMYKcmyk(29%, 58.5%, 0%, 31%)
CIE-LABlab(41.63, 42.29, -46.75)
CIE-LCHlch(41.63, 63.04, 312.13°)
OKLaboklab(51.48% 0.0913 -0.132)
OKLCHoklch(51.48% 0.161 304.7)
XYZxyz(18.6747, 12.2597, 42.4484)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49B0 #7CB049
analogous
#4A49B0 #7D49B0 #B049B0
triadic
#7D49B0 #B07D49 #49B07D
tetradic
#7D49B0 #B04A49 #7CB049 #49B0B0
square
#7D49B0 #B04A49 #7CB049 #49B0B0
split-complementary
#7D49B0 #B0B049 #49B04A
monochromatic
#402559 #5E3785 #7D49B0 #9C72C4 #BA9DD6

Accessibility & contrast

On white

6.08
#7D49B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7D49B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D49B0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D49B0#FFFFFF#000000##FFFFFF
##7D49B01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D61B3
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#745D75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d49b0;
/* rgb */ color: rgb(125, 73, 176);
/* oklch */ color: oklch(51.5% 0.161 304.7);
Tailwind
colors: {
  custom: {
    50: '#a67ec8',
    500: '#7d49b0',
    950: '#000000',
  },
}
SCSS
$custom: #7d49b0;
$custom-light: #a67ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49b0",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 176
  },
  "hsl": {
    "h": 270.291,
    "s": 41.365,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.16051,
    "h": 304.7
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#7D49B0
secondary
#AAC392
accent
#D15793
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D49B0

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

Preview Lab → · Contrast checker → · Palette generator →

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