#7D3AB9#7D3AB9

#7D3AB9 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.192 H 304.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7D3AB9
RGBrgb(125, 58, 185)
HSLhsl(272, 52%, 48%)
HSVhsv(272, 69%, 73%)
CMYKcmyk(32.4%, 68.6%, 0%, 27.5%)
CIE-LABlab(39.39, 52.18, -55.65)
CIE-LCHlch(39.39, 76.29, 313.15°)
OKLaboklab(50.05% 0.1085 -0.1581)
OKLCHoklch(50.05% 0.192 304.5)
XYZxyz(18.7255, 10.8889, 47.0048)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AB9 #76B93A
analogous
#3E3AB9 #7D3AB9 #B93AB5
triadic
#7D3AB9 #B97D3A #3AB97D
tetradic
#7D3AB9 #B93E3A #76B93A #3AB5B9
square
#7D3AB9 #B93E3A #76B93A #3AB5B9
split-complementary
#7D3AB9 #B5B93A #3AB93E
monochromatic
#3E1D5C #5E2B8A #7D3AB9 #9B62CE #B991DC

Accessibility & contrast

On white

6.61
#7D3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7D3AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AB9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AB9#FFFFFF#000000##FFFFFF
##7D3AB91.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#045DB6
Tritanopia (blue-blind)
#725775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3ab9;
/* rgb */ color: rgb(125, 58, 185);
/* oklch */ color: oklch(50.1% 0.192 304.5);
Tailwind
colors: {
  custom: {
    50: '#a775cf',
    500: '#7d3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ab9;
$custom-light: #a775cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ab9",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 271.654,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.19176,
    "h": 304.5
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#7D3AB9
secondary
#A6C787
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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