#7D3CC7#7D3CC7

#7D3CC7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.204 H 300.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7D3CC7
RGBrgb(125, 60, 199)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 70%, 78%)
CMYKcmyk(37.2%, 69.8%, 0%, 22%)
CIE-LABlab(40.76, 54.61, -61.62)
CIE-LCHlch(40.76, 82.34, 311.55°)
OKLaboklab(51.35% 0.1044 -0.1757)
OKLCHoklch(51.35% 0.204 300.7)
XYZxyz(20.3796, 11.7151, 55.2093)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CC7 #86C73C
analogous
#3C40C7 #7D3CC7 #C33CC7
triadic
#7D3CC7 #C77D3C #3CC77D
tetradic
#7D3CC7 #C73C40 #86C73C #3CC7C3
square
#7D3CC7 #C73C40 #86C73C #3CC7C3
split-complementary
#7D3CC7 #C7C33C #40C73C
monochromatic
#421E6A #5F2C9A #7D3CC7 #9D6CD5 #BC9BE2

Accessibility & contrast

On white

6.28
#7D3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7D3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CC7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CC7#FFFFFF#000000##FFFFFF
##7D3CC71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#6D5D7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3cc7;
/* rgb */ color: rgb(125, 60, 199);
/* oklch */ color: oklch(51.3% 0.204 300.7);
Tailwind
colors: {
  custom: {
    50: '#a877d9',
    500: '#7d3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cc7;
$custom-light: #a877d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cc7",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 268.058,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.20433,
    "h": 300.7
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#7D3CC7
secondary
#B1CE91
accent
#DF4999
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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