#7D49BF#7D49BF

#7D49BF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.178 H 300.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D49BF
RGBrgb(125, 73, 191)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 62%, 75%)
CMYKcmyk(34.6%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.59, 46.04, -54.00)
CIE-LCHlch(42.59, 70.96, 310.45°)
OKLaboklab(52.49% 0.091 -0.1533)
OKLCHoklch(52.49% 0.178 300.7)
XYZxyz(20.2417, 12.8865, 50.7010)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D49BF #8BBF49
analogous
#4950BF #7D49BF #B849BF
triadic
#7D49BF #BF7D49 #49BF7D
tetradic
#7D49BF #BF4950 #8BBF49 #49BFB8
square
#7D49BF #BF4950 #8BBF49 #49BFB8
split-complementary
#7D49BF #BFB849 #50BF49
monochromatic
#432569 #603596 #7D49BF #9D76CF #BEA4DF

Accessibility & contrast

On white

5.87
#7D49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7D49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D49BF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D49BF#FFFFFF#000000##FFFFFF
##7D49BF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#6F627D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d49bf;
/* rgb */ color: rgb(125, 73, 191);
/* oklch */ color: oklch(52.5% 0.178 300.7);
Tailwind
colors: {
  custom: {
    50: '#a77ed3',
    500: '#7d49bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d49bf;
$custom-light: #a77ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d49bf",
  "rgb": {
    "r": 125,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 266.441,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.17824,
    "h": 300.7
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#7D49BF
secondary
#B5CC98
accent
#D8509C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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