#7D3FA5#7D3FA5

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

Color values

HEX#7D3FA5
RGBrgb(125, 63, 165)
HSLhsl(276, 45%, 45%)
HSVhsv(276, 62%, 65%)
CMYKcmyk(24.2%, 61.8%, 0%, 35.3%)
CIE-LABlab(38.95, 44.98, -44.50)
CIE-LCHlch(38.95, 63.27, 315.31°)
OKLaboklab(49.31% 0.1042 -0.1254)
OKLCHoklch(49.31% 0.163 309.7)
XYZxyz(17.0252, 10.6319, 36.7453)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FA5 #67A53F
analogous
#4A3FA5 #7D3FA5 #A53F9A
triadic
#7D3FA5 #A57D3F #3FA57D
tetradic
#7D3FA5 #A54A3F #67A53F #3F9AA5
square
#7D3FA5 #A54A3F #67A53F #3F9AA5
split-complementary
#7D3FA5 #9AA53F #3FA54A
monochromatic
#3A1D4C #5B2E79 #7D3FA5 #9B5FC2 #B78CD3

Accessibility & contrast

On white

6.72
#7D3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7D3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FA5
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FA5#FFFFFF#000000##FFFFFF
##7D3FA51.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#78536C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3fa5;
/* rgb */ color: rgb(125, 63, 165);
/* oklch */ color: oklch(49.3% 0.163 309.7);
Tailwind
colors: {
  custom: {
    50: '#a677c0',
    500: '#7d3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fa5;
$custom-light: #a677c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fa5",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 276.471,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.163,
    "h": 309.7
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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