#7D3EA6#7D3EA6

#7D3EA6 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.166 H 309.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7D3EA6
RGBrgb(125, 62, 166)
HSLhsl(276, 46%, 45%)
HSVhsv(276, 63%, 65%)
CMYKcmyk(24.7%, 62.7%, 0%, 34.9%)
CIE-LABlab(38.83, 45.73, -45.30)
CIE-LCHlch(38.83, 64.37, 315.27°)
OKLaboklab(49.24% 0.1054 -0.1277)
OKLCHoklch(49.24% 0.166 309.5)
XYZxyz(17.0617, 10.5587, 37.2082)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EA6 #67A63E
analogous
#493EA6 #7D3EA6 #A63E9B
triadic
#7D3EA6 #A67D3E #3EA67D
tetradic
#7D3EA6 #A6493E #67A63E #3E9BA6
square
#7D3EA6 #A6493E #67A63E #3E9BA6
split-complementary
#7D3EA6 #9BA63E #3EA649
monochromatic
#3A1D4D #5B2D79 #7D3EA6 #9B5EC3 #B78BD4

Accessibility & contrast

On white

6.75
#7D3EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7D3EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EA6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EA6#FFFFFF#000000##FFFFFF
##7D3EA61.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#305CA4
Tritanopia (blue-blind)
#77526C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3ea6;
/* rgb */ color: rgb(125, 62, 166);
/* oklch */ color: oklch(49.2% 0.166 309.5);
Tailwind
colors: {
  custom: {
    50: '#a677c1',
    500: '#7d3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ea6;
$custom-light: #a677c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ea6",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 276.346,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.16559,
    "h": 309.5
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#7D3EA6
secondary
#99BE82
accent
#D55386
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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