#7D4BB6#7D4BB6

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

Color values

HEX#7D4BB6
RGBrgb(125, 75, 182)
HSLhsl(268, 42%, 50%)
HSVhsv(268, 59%, 71%)
CMYKcmyk(31.3%, 58.8%, 0%, 28.6%)
CIE-LABlab(42.41, 42.68, -49.02)
CIE-LCHlch(42.41, 65.00, 311.05°)
OKLaboklab(52.17% 0.0888 -0.1387)
OKLCHoklch(52.17% 0.165 302.6)
XYZxyz(19.4151, 12.7695, 45.6888)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BB6 #84B64B
analogous
#4B4FB6 #7D4BB6 #B24BB6
triadic
#7D4BB6 #B67D4B #4BB67D
tetradic
#7D4BB6 #B64B4F #84B64B #4BB6B2
square
#7D4BB6 #B64B4F #84B64B #4BB6B2
split-complementary
#7D4BB6 #B6B24B #4FB64B
monochromatic
#412760 #5F388B #7D4BB6 #9C77C8 #BCA2D9

Accessibility & contrast

On white

5.91
#7D4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7D4BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BB6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BB6#FFFFFF#000000##FFFFFF
##7D4BB61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963B9
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#726179
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d4bb6;
/* rgb */ color: rgb(125, 75, 182);
/* oklch */ color: oklch(52.2% 0.165 302.6);
Tailwind
colors: {
  custom: {
    50: '#a67fcc',
    500: '#7d4bb6',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bb6;
$custom-light: #a67fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bb6",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 268.037,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.16464,
    "h": 302.6
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#7D4BB6
secondary
#B0C697
accent
#D25698
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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