#7D3CC5#7D3CC5

#7D3CC5 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.202 H 301.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D3CC5
RGBrgb(125, 60, 197)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 77%)
CMYKcmyk(36.5%, 69.5%, 0%, 22.7%)
CIE-LABlab(40.61, 54.12, -60.70)
CIE-LCHlch(40.61, 81.32, 311.72°)
OKLaboklab(51.2% 0.1047 -0.1729)
OKLCHoklch(51.2% 0.202 301.2)
XYZxyz(20.1489, 11.6228, 53.9944)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CC5 #84C53C
analogous
#3C3FC5 #7D3CC5 #C13CC5
triadic
#7D3CC5 #C57D3C #3CC57D
tetradic
#7D3CC5 #C53C3F #84C53C #3CC5C1
square
#7D3CC5 #C53C3F #84C53C #3CC5C1
split-complementary
#7D3CC5 #C5C13C #3FC53C
monochromatic
#411F68 #5F2D97 #7D3CC5 #9C6BD3 #BC9AE1

Accessibility & contrast

On white

6.32
#7D3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D3CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CC5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CC5#FFFFFF#000000##FFFFFF
##7D3CC51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6D5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3cc5;
/* rgb */ color: rgb(125, 60, 197);
/* oklch */ color: oklch(51.2% 0.202 301.2);
Tailwind
colors: {
  custom: {
    50: '#a877d7',
    500: '#7d3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cc5;
$custom-light: #a877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cc5",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 268.467,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.20218,
    "h": 301.2
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#7D3CC5
secondary
#B0CD90
accent
#DE4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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