#7D4CB4#7D4CB4

#7D4CB4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.161 H 303.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7D4CB4
RGBrgb(125, 76, 180)
HSLhsl(268, 41%, 50%)
HSVhsv(268, 58%, 71%)
CMYKcmyk(30.6%, 57.8%, 0%, 29.4%)
CIE-LABlab(42.50, 41.63, -47.71)
CIE-LCHlch(42.50, 63.32, 311.11°)
OKLaboklab(52.19% 0.0875 -0.1348)
OKLCHoklch(52.19% 0.161 303)
XYZxyz(19.2782, 12.8242, 44.6308)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CB4 #83B44C
analogous
#4C4FB4 #7D4CB4 #B14CB4
triadic
#7D4CB4 #B47D4C #4CB47D
tetradic
#7D4CB4 #B44C4F #83B44C #4CB4B1
square
#7D4CB4 #B44C4F #83B44C #4CB4B1
split-complementary
#7D4CB4 #B4B14C #4FB44C
monochromatic
#41275E #5F3A89 #7D4CB4 #9C77C6 #BCA2D8

Accessibility & contrast

On white

5.89
#7D4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7D4CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CB4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CB4#FFFFFF#000000##FFFFFF
##7D4CB41.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#736179
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d4cb4;
/* rgb */ color: rgb(125, 76, 180);
/* oklch */ color: oklch(52.2% 0.161 303.0);
Tailwind
colors: {
  custom: {
    50: '#a680cb',
    500: '#7d4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cb4;
$custom-light: #a680cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cb4",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 268.269,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.16072,
    "h": 303
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#7D4CB4
secondary
#AFC597
accent
#D15797
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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