#7D4BB7#7D4BB7

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

Color values

HEX#7D4BB7
RGBrgb(125, 75, 183)
HSLhsl(268, 43%, 51%)
HSVhsv(268, 59%, 72%)
CMYKcmyk(31.7%, 59%, 0%, 28.2%)
CIE-LABlab(42.48, 42.93, -49.50)
CIE-LCHlch(42.48, 65.53, 310.94°)
OKLaboklab(52.24% 0.0888 -0.1401)
OKLCHoklch(52.24% 0.166 302.4)
XYZxyz(19.5188, 12.8110, 46.2350)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BB7 #85B74B
analogous
#4B4FB7 #7D4BB7 #B34BB7
triadic
#7D4BB7 #B77D4B #4BB77D
tetradic
#7D4BB7 #B74B4F #85B74B #4BB7B3
square
#7D4BB7 #B74B4F #85B74B #4BB7B3
split-complementary
#7D4BB7 #B7B34B #4FB74B
monochromatic
#422761 #5F388D #7D4BB7 #9D77C8 #BCA2DA

Accessibility & contrast

On white

5.90
#7D4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4BB7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BB7#FFFFFF#000000##FFFFFF
##7D4BB71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BB
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#72617A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d4bb7;
/* rgb */ color: rgb(125, 75, 183);
/* oklch */ color: oklch(52.2% 0.166 302.4);
Tailwind
colors: {
  custom: {
    50: '#a67fcd',
    500: '#7d4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bb7;
$custom-light: #a67fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bb7",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 267.778,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.16584,
    "h": 302.4
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#7D4BB7
secondary
#B1C797
accent
#D35599
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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