#7D3AC6#7D3AC6

#7D3AC6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.206 H 301.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC6
RGBrgb(125, 58, 198)
HSLhsl(269, 55%, 50%)
HSVhsv(269, 71%, 78%)
CMYKcmyk(36.9%, 70.7%, 0%, 22.4%)
CIE-LABlab(40.35, 55.30, -61.71)
CIE-LCHlch(40.35, 82.86, 311.87°)
OKLaboklab(51.03% 0.1066 -0.1759)
OKLCHoklch(51.03% 0.206 301.2)
XYZxyz(20.1611, 11.4632, 54.5656)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC6 #83C63A
analogous
#3A3DC6 #7D3AC6 #C33AC6
triadic
#7D3AC6 #C67D3A #3AC67D
tetradic
#7D3AC6 #C63A3D #83C63A #3AC6C3
square
#7D3AC6 #C63A3D #83C63A #3AC6C3
split-complementary
#7D3AC6 #C6C33A #3DC63A
monochromatic
#411E68 #5F2C97 #7D3AC6 #9C69D4 #BC99E1

Accessibility & contrast

On white

6.38
#7D3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7D3AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC6#FFFFFF#000000##FFFFFF
##7D3AC61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#6D5C7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ac6;
/* rgb */ color: rgb(125, 58, 198);
/* oklch */ color: oklch(51.0% 0.206 301.2);
Tailwind
colors: {
  custom: {
    50: '#a876d8',
    500: '#7d3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac6;
$custom-light: #a876d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac6",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 268.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.20565,
    "h": 301.2
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#7D3AC6
secondary
#AFCD8F
accent
#DE4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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