#7D3FA3#7D3FA3

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

Color values

HEX#7D3FA3
RGBrgb(125, 63, 163)
HSLhsl(277, 44%, 44%)
HSVhsv(277, 61%, 64%)
CMYKcmyk(23.3%, 61.3%, 0%, 36.1%)
CIE-LABlab(38.83, 44.52, -43.50)
CIE-LCHlch(38.83, 62.24, 315.66°)
OKLaboklab(49.18% 0.1042 -0.1224)
OKLCHoklch(49.18% 0.161 310.4)
XYZxyz(16.8446, 10.5597, 35.7941)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FA3 #65A33F
analogous
#4B3FA3 #7D3FA3 #A33F97
triadic
#7D3FA3 #A37D3F #3FA37D
tetradic
#7D3FA3 #A34B3F #65A33F #3F97A3
square
#7D3FA3 #A34B3F #65A33F #3F97A3
split-complementary
#7D3FA3 #97A33F #3FA34B
monochromatic
#391D4B #5B2E77 #7D3FA3 #9B5EC1 #B78AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D3FA3#FFFFFF#000000##FFFFFF
##7D3FA31.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)
#1759A6
Deuteranopia (green-blind)
#345CA1
Tritanopia (blue-blind)
#78526B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3fa3;
/* rgb */ color: rgb(125, 63, 163);
/* oklch */ color: oklch(49.2% 0.161 310.4);
Tailwind
colors: {
  custom: {
    50: '#a677bf',
    500: '#7d3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fa3;
$custom-light: #a677bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fa3",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 277.2,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.16078,
    "h": 310.4
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#7D3FA3
secondary
#98BD81
accent
#D45485
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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