#7D4BC2#7D4BC2

#7D4BC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.179 H 299.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7D4BC2
RGBrgb(125, 75, 194)
HSLhsl(265, 49%, 53%)
HSVhsv(265, 61%, 76%)
CMYKcmyk(35.6%, 61.3%, 0%, 23.9%)
CIE-LABlab(43.19, 45.73, -54.78)
CIE-LCHlch(43.19, 71.35, 309.86°)
OKLaboklab(52.99% 0.0884 -0.1556)
OKLCHoklch(52.99% 0.179 299.6)
XYZxyz(20.7087, 13.2870, 52.5021)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BC2 #90C24B
analogous
#4B54C2 #7D4BC2 #B94BC2
triadic
#7D4BC2 #C27D4B #4BC27D
tetradic
#7D4BC2 #C24B54 #90C24B #4BC2B9
square
#7D4BC2 #C24B54 #90C24B #4BC2B9
split-complementary
#7D4BC2 #C2B94B #54C24B
monochromatic
#44256D #60359B #7D4BC2 #9E79D1 #BFA6E1

Accessibility & contrast

On white

5.74
#7D4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7D4BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BC2#FFFFFF#000000##FFFFFF
##7D4BC21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#6E657F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4bc2;
/* rgb */ color: rgb(125, 75, 194);
/* oklch */ color: oklch(53.0% 0.179 299.6);
Tailwind
colors: {
  custom: {
    50: '#a780d5',
    500: '#7d4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bc2;
$custom-light: #a780d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bc2",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 265.21,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.17896,
    "h": 299.6
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#7D4BC2
secondary
#B9CE9B
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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