#7D3ACD#7D3ACD

#7D3ACD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.213 H 299.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7D3ACD
RGBrgb(125, 58, 205)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(39%, 71.7%, 0%, 19.6%)
CIE-LABlab(40.89, 57.01, -64.90)
CIE-LCHlch(40.89, 86.38, 311.30°)
OKLaboklab(51.58% 0.1053 -0.1853)
OKLCHoklch(51.58% 0.213 299.6)
XYZxyz(20.9872, 11.7936, 58.9165)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ACD #8ACD3A
analogous
#3A41CD #7D3ACD #C73ACD
triadic
#7D3ACD #CD7D3A #3ACD7D
tetradic
#7D3ACD #CD3A41 #8ACD3A #3ACDC7
square
#7D3ACD #CD3A41 #8ACD3A #3ACDC7
split-complementary
#7D3ACD #CDC73A #41CD3A
monochromatic
#431C70 #6029A1 #7D3ACD #9D6BD9 #BD9CE6

Accessibility & contrast

On white

6.25
#7D3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D3ACD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ACD#FFFFFF#000000##FFFFFF
##7D3ACD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#6A5F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3acd;
/* rgb */ color: rgb(125, 58, 205);
/* oklch */ color: oklch(51.6% 0.213 299.6);
Tailwind
colors: {
  custom: {
    50: '#a976dd',
    500: '#7d3acd',
    950: '#000000',
  },
}
SCSS
$custom: #7d3acd;
$custom-light: #a976dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3acd",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 267.347,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.21308,
    "h": 299.6
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#7D3ACD
secondary
#B4D291
accent
#E3459B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7D3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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