#7D3EA7#7D3EA7

#7D3EA7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.167 H 309.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D3EA7
RGBrgb(125, 62, 167)
HSLhsl(276, 46%, 45%)
HSVhsv(276, 63%, 65%)
CMYKcmyk(25.1%, 62.9%, 0%, 34.5%)
CIE-LABlab(38.89, 45.96, -45.79)
CIE-LCHlch(38.89, 64.88, 315.11°)
OKLaboklab(49.3% 0.1054 -0.1292)
OKLCHoklch(49.3% 0.167 309.2)
XYZxyz(17.1537, 10.5955, 37.6932)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EA7 #68A73E
analogous
#483EA7 #7D3EA7 #A73E9D
triadic
#7D3EA7 #A77D3E #3EA77D
tetradic
#7D3EA7 #A7483E #68A73E #3E9DA7
square
#7D3EA7 #A7483E #68A73E #3E9DA7
split-complementary
#7D3EA7 #9DA73E #3EA748
monochromatic
#3A1D4E #5C2D7A #7D3EA7 #9B5FC3 #B78BD4

Accessibility & contrast

On white

6.73
#7D3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D3EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EA7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EA7#FFFFFF#000000##FFFFFF
##7D3EA71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0959AA
Deuteranopia (green-blind)
#2F5CA5
Tritanopia (blue-blind)
#77536D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3ea7;
/* rgb */ color: rgb(125, 62, 167);
/* oklch */ color: oklch(49.3% 0.167 309.2);
Tailwind
colors: {
  custom: {
    50: '#a677c2',
    500: '#7d3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ea7;
$custom-light: #a677c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ea7",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 276,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.1667,
    "h": 309.2
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#7D3EA7
secondary
#9ABF82
accent
#D65287
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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