#7D4BBB#7D4BBB

#7D4BBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.171 H 301.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7D4BBB
RGBrgb(125, 75, 187)
HSLhsl(267, 45%, 51%)
HSVhsv(267, 60%, 73%)
CMYKcmyk(33.2%, 59.9%, 0%, 26.7%)
CIE-LABlab(42.73, 43.94, -51.43)
CIE-LCHlch(42.73, 67.65, 310.51°)
OKLaboklab(52.51% 0.0887 -0.1458)
OKLCHoklch(52.51% 0.171 301.3)
XYZxyz(19.9410, 12.9799, 48.4589)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BBB #89BB4B
analogous
#4B51BB #7D4BBB #B54BBB
triadic
#7D4BBB #BB7D4B #4BBB7D
tetradic
#7D4BBB #BB4B51 #89BB4B #4BBBB5
square
#7D4BBB #BB4B51 #89BB4B #4BBBB5
split-complementary
#7D4BBB #BBB54B #51BB4B
monochromatic
#422665 #603792 #7D4BBB #9D77CC #BDA4DD

Accessibility & contrast

On white

5.84
#7D4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7D4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BBB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BBB#FFFFFF#000000##FFFFFF
##7D4BBB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#70627C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4bbb;
/* rgb */ color: rgb(125, 75, 187);
/* oklch */ color: oklch(52.5% 0.171 301.3);
Tailwind
colors: {
  custom: {
    50: '#a77fd0',
    500: '#7d4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bbb;
$custom-light: #a77fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bbb",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 266.786,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.17063,
    "h": 301.3
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#7D4BBB
secondary
#B4CA98
accent
#D5539B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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