#7D4BA7#7D4BA7

#7D4BA7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.147 H 307.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7D4BA7
RGBrgb(125, 75, 167)
HSLhsl(273, 38%, 47%)
HSVhsv(273, 55%, 65%)
CMYKcmyk(25.1%, 55.1%, 0%, 34.5%)
CIE-LABlab(41.50, 38.99, -41.61)
CIE-LCHlch(41.50, 57.02, 313.13°)
OKLaboklab(51.21% 0.0884 -0.117)
OKLCHoklch(51.21% 0.147 307.1)
XYZxyz(17.9471, 12.1823, 37.9577)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BA7 #75A74B
analogous
#4F4BA7 #7D4BA7 #A74BA3
triadic
#7D4BA7 #A77D4B #4BA77D
tetradic
#7D4BA7 #A74F4B #75A74B #4BA3A7
square
#7D4BA7 #A74F4B #75A74B #4BA3A7
split-complementary
#7D4BA7 #A3A74B #4BA74F
monochromatic
#3E2553 #5D387D #7D4BA7 #9B70BF #B99BD2

Accessibility & contrast

On white

6.11
#7D4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7D4BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BA7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BA7#FFFFFF#000000##FFFFFF
##7D4BA71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#3E62A5
Tritanopia (blue-blind)
#775C72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d4ba7;
/* rgb */ color: rgb(125, 75, 167);
/* oklch */ color: oklch(51.2% 0.147 307.1);
Tailwind
colors: {
  custom: {
    50: '#a57fc1',
    500: '#7d4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ba7;
$custom-light: #a57fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ba7",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 272.609,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.1466,
    "h": 307.1
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#7D4BA7
secondary
#A5BE8F
accent
#CE5A8F
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #7D4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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