#7D3FA4#7D3FA4

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

Color values

HEX#7D3FA4
RGBrgb(125, 63, 164)
HSLhsl(277, 44%, 45%)
HSVhsv(277, 62%, 64%)
CMYKcmyk(23.8%, 61.6%, 0%, 35.7%)
CIE-LABlab(38.89, 44.75, -44.00)
CIE-LCHlch(38.89, 62.76, 315.49°)
OKLaboklab(49.24% 0.1042 -0.1239)
OKLCHoklch(49.24% 0.162 310.1)
XYZxyz(16.9345, 10.5957, 36.2678)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FA4 #66A43F
analogous
#4B3FA4 #7D3FA4 #A43F98
triadic
#7D3FA4 #A47D3F #3FA47D
tetradic
#7D3FA4 #A44B3F #66A43F #3F98A4
square
#7D3FA4 #A44B3F #66A43F #3F98A4
split-complementary
#7D3FA4 #98A43F #3FA44B
monochromatic
#3A1D4C #5B2E78 #7D3FA4 #9B5FC1 #B78BD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D3FA4#FFFFFF#000000##FFFFFF
##7D3FA41.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)
#1559A7
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#78526B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3fa4;
/* rgb */ color: rgb(125, 63, 164);
/* oklch */ color: oklch(49.2% 0.162 310.1);
Tailwind
colors: {
  custom: {
    50: '#a677bf',
    500: '#7d3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fa4;
$custom-light: #a677bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fa4",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 276.832,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.16189,
    "h": 310.1
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#7D3FA4
secondary
#99BD82
accent
#D45485
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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