#7D4CC2#7D4CC2

#7D4CC2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.178 H 299.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7D4CC2
RGBrgb(125, 76, 194)
HSLhsl(265, 49%, 53%)
HSVhsv(265, 61%, 76%)
CMYKcmyk(35.6%, 60.8%, 0%, 23.9%)
CIE-LABlab(43.39, 45.19, -54.45)
CIE-LCHlch(43.39, 70.76, 309.69°)
OKLaboklab(53.14% 0.0872 -0.1546)
OKLCHoklch(53.14% 0.178 299.4)
XYZxyz(20.7771, 13.4237, 52.5249)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CC2 #91C24C
analogous
#4C56C2 #7D4CC2 #B84CC2
triadic
#7D4CC2 #C27D4C #4CC27D
tetradic
#7D4CC2 #C24C56 #91C24C #4CC2B8
square
#7D4CC2 #C24C56 #91C24C #4CC2B8
split-complementary
#7D4CC2 #C2B84C #56C24C
monochromatic
#44266E #60359C #7D4CC2 #9E7AD2 #BFA7E1

Accessibility & contrast

On white

5.70
#7D4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7D4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CC2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CC2#FFFFFF#000000##FFFFFF
##7D4CC21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#2066BF
Tritanopia (blue-blind)
#6E6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4cc2;
/* rgb */ color: rgb(125, 76, 194);
/* oklch */ color: oklch(53.1% 0.178 299.4);
Tailwind
colors: {
  custom: {
    50: '#a780d5',
    500: '#7d4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cc2;
$custom-light: #a780d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cc2",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 264.915,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53136,
    "c": 0.17754,
    "h": 299.4
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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