#7D3CC4#7D3CC4

#7D3CC4 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.201 H 301.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7D3CC4
RGBrgb(125, 60, 196)
HSLhsl(269, 54%, 50%)
HSVhsv(269, 69%, 77%)
CMYKcmyk(36.2%, 69.4%, 0%, 23.1%)
CIE-LABlab(40.54, 53.88, -60.24)
CIE-LCHlch(40.54, 80.82, 311.81°)
OKLaboklab(51.12% 0.1049 -0.1716)
OKLCHoklch(51.12% 0.201 301.4)
XYZxyz(20.0347, 11.5771, 53.3930)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CC4 #83C43C
analogous
#3C3FC4 #7D3CC4 #C13CC4
triadic
#7D3CC4 #C47D3C #3CC47D
tetradic
#7D3CC4 #C43C3F #83C43C #3CC4C1
square
#7D3CC4 #C43C3F #83C43C #3CC4C1
split-complementary
#7D3CC4 #C4C13C #3FC43C
monochromatic
#411F67 #5F2D96 #7D3CC4 #9C6BD2 #BC9AE0

Accessibility & contrast

On white

6.33
#7D3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D3CC4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CC4#FFFFFF#000000##FFFFFF
##7D3CC41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#6E5C7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3cc4;
/* rgb */ color: rgb(125, 60, 196);
/* oklch */ color: oklch(51.1% 0.201 301.4);
Tailwind
colors: {
  custom: {
    50: '#a877d7',
    500: '#7d3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cc4;
$custom-light: #a877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cc4",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 268.676,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.20109,
    "h": 301.4
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#7D3CC4
secondary
#AFCC90
accent
#DD4B97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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