#7D49BE#7D49BE

#7D49BE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.177 H 300.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7D49BE
RGBrgb(125, 73, 190)
HSLhsl(267, 47%, 52%)
HSVhsv(267, 62%, 75%)
CMYKcmyk(34.2%, 61.6%, 0%, 25.5%)
CIE-LABlab(42.53, 45.78, -53.52)
CIE-LCHlch(42.53, 70.43, 310.54°)
OKLaboklab(52.42% 0.091 -0.1519)
OKLCHoklch(52.42% 0.177 300.9)
XYZxyz(20.1320, 12.8427, 50.1235)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49BE #8ABE49
analogous
#4950BE #7D49BE #B849BE
triadic
#7D49BE #BE7D49 #49BE7D
tetradic
#7D49BE #BE4950 #8ABE49 #49BEB8
square
#7D49BE #BE4950 #8ABE49 #49BEB8
split-complementary
#7D49BE #BEB849 #50BE49
monochromatic
#432568 #603595 #7D49BE #9D76CE #BDA3DE

Accessibility & contrast

On white

5.88
#7D49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7D49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D49BE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D49BE#FFFFFF#000000##FFFFFF
##7D49BE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#6F627D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d49be;
/* rgb */ color: rgb(125, 73, 190);
/* oklch */ color: oklch(52.4% 0.177 300.9);
Tailwind
colors: {
  custom: {
    50: '#a77ed2',
    500: '#7d49be',
    950: '#000000',
  },
}
SCSS
$custom: #7d49be;
$custom-light: #a77ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49be",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 266.667,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.17706,
    "h": 300.9
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#7D49BE
secondary
#B4CB98
accent
#D7519B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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