#7D4BC7#7D4BC7

#7D4BC7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.185 H 298.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7D4BC7
RGBrgb(125, 75, 199)
HSLhsl(264, 53%, 54%)
HSVhsv(264, 62%, 78%)
CMYKcmyk(37.2%, 62.3%, 0%, 22%)
CIE-LABlab(43.53, 47.01, -57.13)
CIE-LCHlch(43.53, 73.99, 309.45°)
OKLaboklab(53.34% 0.0882 -0.1625)
OKLCHoklch(53.34% 0.185 298.5)
XYZxyz(21.2797, 13.5154, 55.5094)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BC7 #95C74B
analogous
#4B57C7 #7D4BC7 #BB4BC7
triadic
#7D4BC7 #C77D4B #4BC77D
tetradic
#7D4BC7 #C74B57 #95C74B #4BC7BB
square
#7D4BC7 #C74B57 #95C74B #4BC7BB
split-complementary
#7D4BC7 #C7BB4B #57C74B
monochromatic
#442474 #6032A2 #7D4BC7 #9F7AD6 #C0A8E4

Accessibility & contrast

On white

5.67
#7D4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D4BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BC7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BC7#FFFFFF#000000##FFFFFF
##7D4BC71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#1166C4
Tritanopia (blue-blind)
#6C6682
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4bc7;
/* rgb */ color: rgb(125, 75, 199);
/* oklch */ color: oklch(53.3% 0.185 298.5);
Tailwind
colors: {
  custom: {
    50: '#a880d9',
    500: '#7d4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bc7;
$custom-light: #a880d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bc7",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 264.194,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.18488,
    "h": 298.5
  },
  "luminance": 0.13516
}

Semantic roles & 50–950 ramp

primary
#7D4BC7
secondary
#BCD19C
accent
#DC4CA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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