#7D3FA2#7D3FA2

#7D3FA2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.160 H 310.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7D3FA2
RGBrgb(125, 63, 162)
HSLhsl(278, 44%, 44%)
HSVhsv(278, 61%, 64%)
CMYKcmyk(22.8%, 61.1%, 0%, 36.5%)
CIE-LABlab(38.77, 44.29, -43.00)
CIE-LCHlch(38.77, 61.73, 315.85°)
OKLaboklab(49.11% 0.1042 -0.121)
OKLCHoklch(49.11% 0.16 310.7)
XYZxyz(16.7553, 10.5240, 35.3241)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FA2 #64A23F
analogous
#4C3FA2 #7D3FA2 #A23F96
triadic
#7D3FA2 #A27D3F #3FA27D
tetradic
#7D3FA2 #A24C3F #64A23F #3F96A2
square
#7D3FA2 #A24C3F #64A23F #3F96A2
split-complementary
#7D3FA2 #96A23F #3FA24C
monochromatic
#391D4A #5B2E76 #7D3FA2 #9C5EC0 #B78AD1

Accessibility & contrast

On white

6.76
#7D3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7D3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FA2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FA2#FFFFFF#000000##FFFFFF
##7D3FA21.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#355CA0
Tritanopia (blue-blind)
#78526A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3fa2;
/* rgb */ color: rgb(125, 63, 162);
/* oklch */ color: oklch(49.1% 0.160 310.7);
Tailwind
colors: {
  custom: {
    50: '#a677be',
    500: '#7d3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fa2;
$custom-light: #a677be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fa2",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 277.576,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.15967,
    "h": 310.7
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#7D3FA2
secondary
#97BC81
accent
#D45484
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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