#7D3CCA#7D3CCA

#7D3CCA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.208 H 300.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7D3CCA
RGBrgb(125, 60, 202)
HSLhsl(267, 57%, 51%)
HSVhsv(267, 70%, 79%)
CMYKcmyk(38.1%, 70.3%, 0%, 20.8%)
CIE-LABlab(40.99, 55.35, -63.00)
CIE-LCHlch(40.99, 83.86, 311.30°)
OKLaboklab(51.58% 0.1039 -0.1797)
OKLCHoklch(51.58% 0.208 300)
XYZxyz(20.7313, 11.8558, 57.0618)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CCA #89CA3C
analogous
#3C42CA #7D3CCA #C43CCA
triadic
#7D3CCA #CA7D3C #3CCA7D
tetradic
#7D3CCA #CA3C42 #89CA3C #3CCAC4
square
#7D3CCA #CA3C42 #89CA3C #3CCAC4
split-complementary
#7D3CCA #CAC43C #42CA3C
monochromatic
#421E6E #602B9E #7D3CCA #9D6CD7 #BD9CE4

Accessibility & contrast

On white

6.23
#7D3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7D3CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CCA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CCA#FFFFFF#000000##FFFFFF
##7D3CCA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6B5E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3cca;
/* rgb */ color: rgb(125, 60, 202);
/* oklch */ color: oklch(51.6% 0.208 300.0);
Tailwind
colors: {
  custom: {
    50: '#a977db',
    500: '#7d3cca',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cca;
$custom-light: #a977db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cca",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 267.465,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.20756,
    "h": 300
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#7D3CCA
secondary
#B4D092
accent
#E1479A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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