#7D3DC6#7D3DC6

#7D3DC6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.202 H 300.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC6
RGBrgb(125, 61, 198)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 69%, 78%)
CMYKcmyk(36.9%, 69.2%, 0%, 22.4%)
CIE-LABlab(40.86, 53.89, -60.88)
CIE-LCHlch(40.86, 81.31, 311.51°)
OKLaboklab(51.39% 0.1035 -0.1735)
OKLCHoklch(51.39% 0.202 300.8)
XYZxyz(20.3167, 11.7745, 54.6175)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC6 #86C63D
analogous
#3D41C6 #7D3DC6 #C13DC6
triadic
#7D3DC6 #C67D3D #3DC67D
tetradic
#7D3DC6 #C63D41 #86C63D #3DC6C1
square
#7D3DC6 #C63D41 #86C63D #3DC6C1
split-complementary
#7D3DC6 #C6C13D #41C63D
monochromatic
#421F6A #5F2D99 #7D3DC6 #9D6CD4 #BC9CE2

Accessibility & contrast

On white

6.26
#7D3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D3DC6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC6#FFFFFF#000000##FFFFFF
##7D3DC61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6D5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3dc6;
/* rgb */ color: rgb(125, 61, 198);
/* oklch */ color: oklch(51.4% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#a877d8',
    500: '#7d3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc6;
$custom-light: #a877d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc6",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 268.029,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.20203,
    "h": 300.8
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#7D3DC6
secondary
#B1CE91
accent
#DE4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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