#7D4BBF#7D4BBF

#7D4BBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.175 H 300.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D4BBF
RGBrgb(125, 75, 191)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.6%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.99, 44.96, -53.35)
CIE-LCHlch(42.99, 69.77, 310.12°)
OKLaboklab(52.78% 0.0886 -0.1514)
OKLCHoklch(52.78% 0.175 300.3)
XYZxyz(20.3752, 13.1536, 50.7456)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BBF #8DBF4B
analogous
#4B53BF #7D4BBF #B74BBF
triadic
#7D4BBF #BF7D4B #4BBF7D
tetradic
#7D4BBF #BF4B53 #8DBF4B #4BBFB7
square
#7D4BBF #BF4B53 #8DBF4B #4BBFB7
split-complementary
#7D4BBF #BFB74B #53BF4B
monochromatic
#43266A #603697 #7D4BBF #9E78CF #BEA5DF

Accessibility & contrast

On white

5.78
#7D4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BBF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BBF#FFFFFF#000000##FFFFFF
##7D4BBF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2365BC
Tritanopia (blue-blind)
#6F647E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4bbf;
/* rgb */ color: rgb(125, 75, 191);
/* oklch */ color: oklch(52.8% 0.175 300.3);
Tailwind
colors: {
  custom: {
    50: '#a780d3',
    500: '#7d4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bbf;
$custom-light: #a780d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bbf",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 265.862,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.17539,
    "h": 300.3
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#7D4BBF
secondary
#B6CC9A
accent
#D7519D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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