#7D3AC9#7D3AC9

#7D3AC9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.209 H 300.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC9
RGBrgb(125, 58, 201)
HSLhsl(268, 57%, 51%)
HSVhsv(268, 71%, 79%)
CMYKcmyk(37.8%, 71.1%, 0%, 21.2%)
CIE-LABlab(40.58, 56.03, -63.08)
CIE-LCHlch(40.58, 84.37, 311.62°)
OKLaboklab(51.27% 0.106 -0.1799)
OKLCHoklch(51.27% 0.209 300.5)
XYZxyz(20.5105, 11.6030, 56.4060)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC9 #86C93A
analogous
#3A3EC9 #7D3AC9 #C43AC9
triadic
#7D3AC9 #C97D3A #3AC97D
tetradic
#7D3AC9 #C93A3E #86C93A #3AC9C4
square
#7D3AC9 #C93A3E #86C93A #3AC9C4
split-complementary
#7D3AC9 #C9C43A #3EC93A
monochromatic
#421D6B #5F2B9B #7D3AC9 #9D6AD6 #BC9AE3

Accessibility & contrast

On white

6.32
#7D3AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7D3AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC9#FFFFFF#000000##FFFFFF
##7D3AC91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#6C5D7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3ac9;
/* rgb */ color: rgb(125, 58, 201);
/* oklch */ color: oklch(51.3% 0.209 300.5);
Tailwind
colors: {
  custom: {
    50: '#a976da',
    500: '#7d3ac9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac9;
$custom-light: #a976da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac9",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 268.112,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.20884,
    "h": 300.5
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#7D3AC9
secondary
#B1CF90
accent
#E04899
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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