#7D3CA8#7D3CA8

#7D3CA8 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.171 H 309.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA8
RGBrgb(125, 60, 168)
HSLhsl(276, 47%, 45%)
HSVhsv(276, 64%, 66%)
CMYKcmyk(25.6%, 64.3%, 0%, 34.1%)
CIE-LABlab(38.58, 47.21, -46.88)
CIE-LCHlch(38.58, 66.53, 315.20°)
OKLaboklab(49.1% 0.1078 -0.1323)
OKLCHoklch(49.1% 0.171 309.2)
XYZxyz(17.1398, 10.4191, 38.1464)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA8 #67A83C
analogous
#473CA8 #7D3CA8 #A83C9D
triadic
#7D3CA8 #A87D3C #3CA87D
tetradic
#7D3CA8 #A8473C #67A83C #3C9DA8
square
#7D3CA8 #A8473C #67A83C #3C9DA8
split-complementary
#7D3CA8 #9DA83C #3CA847
monochromatic
#3A1C4E #5B2C7B #7D3CA8 #9B5CC5 #B789D5

Accessibility & contrast

On white

6.81
#7D3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7D3CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CA8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA8#FFFFFF#000000##FFFFFF
##7D3CA81.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#2C5CA6
Tritanopia (blue-blind)
#77526C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3ca8;
/* rgb */ color: rgb(125, 60, 168);
/* oklch */ color: oklch(49.1% 0.171 309.2);
Tailwind
colors: {
  custom: {
    50: '#a676c2',
    500: '#7d3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca8;
$custom-light: #a676c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca8",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 276.111,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.17069,
    "h": 309.2
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#7D3CA8
secondary
#99BF80
accent
#D75186
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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