#7D3CA2#7D3CA2

#7D3CA2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.164 H 311.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA2
RGBrgb(125, 60, 162)
HSLhsl(278, 46%, 44%)
HSVhsv(278, 63%, 64%)
CMYKcmyk(22.8%, 63%, 0%, 36.5%)
CIE-LABlab(38.20, 45.83, -43.91)
CIE-LCHlch(38.20, 63.47, 316.23°)
OKLaboklab(48.7% 0.108 -0.1236)
OKLCHoklch(48.7% 0.164 311.1)
XYZxyz(16.5937, 10.2007, 35.2702)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA2 #61A23C
analogous
#4A3CA2 #7D3CA2 #A23C94
triadic
#7D3CA2 #A27D3C #3CA27D
tetradic
#7D3CA2 #A24A3C #61A23C #3C94A2
square
#7D3CA2 #A24A3C #61A23C #3C94A2
split-complementary
#7D3CA2 #94A23C #3CA24A
monochromatic
#381B49 #5B2B75 #7D3CA2 #9C59C2 #B786D2

Accessibility & contrast

On white

6.91
#7D3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CA2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA2#FFFFFF#000000##FFFFFF
##7D3CA21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#785069
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3ca2;
/* rgb */ color: rgb(125, 60, 162);
/* oklch */ color: oklch(48.7% 0.164 311.1);
Tailwind
colors: {
  custom: {
    50: '#a676be',
    500: '#7d3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca2;
$custom-light: #a676be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca2",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 278.235,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.16417,
    "h": 311.1
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#7D3CA2
secondary
#94BC7D
accent
#D65282
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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