#7D3CA1#7D3CA1

#7D3CA1 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.163 H 311.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA1
RGBrgb(125, 60, 161)
HSLhsl(279, 46%, 43%)
HSVhsv(279, 63%, 63%)
CMYKcmyk(22.4%, 62.7%, 0%, 36.9%)
CIE-LABlab(38.14, 45.60, -43.41)
CIE-LCHlch(38.14, 62.96, 316.41°)
OKLaboklab(48.63% 0.108 -0.1222)
OKLCHoklch(48.63% 0.163 311.5)
XYZxyz(16.5051, 10.1653, 34.8039)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA1 #60A13C
analogous
#4A3CA1 #7D3CA1 #A13C92
triadic
#7D3CA1 #A17D3C #3CA17D
tetradic
#7D3CA1 #A14A3C #60A13C #3C92A1
square
#7D3CA1 #A14A3C #60A13C #3C92A1
split-complementary
#7D3CA1 #92A13C #3CA14A
monochromatic
#381B48 #5A2B74 #7D3CA1 #9C59C1 #B786D2

Accessibility & contrast

On white

6.92
#7D3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D3CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CA1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA1#FFFFFF#000000##FFFFFF
##7D3CA11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A4
Deuteranopia (green-blind)
#335B9F
Tritanopia (blue-blind)
#794F69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3ca1;
/* rgb */ color: rgb(125, 60, 161);
/* oklch */ color: oklch(48.6% 0.163 311.5);
Tailwind
colors: {
  custom: {
    50: '#a676bd',
    500: '#7d3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca1;
$custom-light: #a676bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca1",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 278.614,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.16308,
    "h": 311.5
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#7D3CA1
secondary
#93BC7D
accent
#D55281
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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