#7D3DC7#7D3DC7

#7D3DC7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.203 H 300.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC7
RGBrgb(125, 61, 199)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 69%, 78%)
CMYKcmyk(37.2%, 69.3%, 0%, 22%)
CIE-LABlab(40.93, 54.14, -61.34)
CIE-LCHlch(40.93, 81.82, 311.43°)
OKLaboklab(51.47% 0.1034 -0.1748)
OKLCHoklch(51.47% 0.203 300.6)
XYZxyz(20.4325, 11.8208, 55.2269)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC7 #87C73D
analogous
#3D42C7 #7D3DC7 #C23DC7
triadic
#7D3DC7 #C77D3D #3DC77D
tetradic
#7D3DC7 #C73D42 #87C73D #3DC7C2
square
#7D3DC7 #C73D42 #87C73D #3DC7C2
split-complementary
#7D3DC7 #C7C23D #42C73D
monochromatic
#421F6B #5F2D9A #7D3DC7 #9D6CD5 #BD9CE2

Accessibility & contrast

On white

6.24
#7D3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7D3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DC7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC7#FFFFFF#000000##FFFFFF
##7D3DC71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#6D5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3dc7;
/* rgb */ color: rgb(125, 61, 199);
/* oklch */ color: oklch(51.5% 0.203 300.6);
Tailwind
colors: {
  custom: {
    50: '#a877d9',
    500: '#7d3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc7;
$custom-light: #a877d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc7",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 267.826,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.20312,
    "h": 300.6
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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