#7D3AB8#7D3AB8

#7D3AB8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.191 H 304.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7D3AB8
RGBrgb(125, 58, 184)
HSLhsl(272, 52%, 47%)
HSVhsv(272, 68%, 72%)
CMYKcmyk(32.1%, 68.5%, 0%, 27.8%)
CIE-LABlab(39.32, 51.94, -55.18)
CIE-LCHlch(39.32, 75.78, 313.27°)
OKLaboklab(49.98% 0.1087 -0.1567)
OKLCHoklch(49.98% 0.191 304.7)
XYZxyz(18.6203, 10.8469, 46.4508)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AB8 #75B83A
analogous
#3E3AB8 #7D3AB8 #B83AB4
triadic
#7D3AB8 #B87D3A #3AB87D
tetradic
#7D3AB8 #B83E3A #75B83A #3AB4B8
square
#7D3AB8 #B83E3A #75B83A #3AB4B8
split-complementary
#7D3AB8 #B4B83A #3AB83E
monochromatic
#3E1D5B #5D2B89 #7D3AB8 #9B62CD #B990DC

Accessibility & contrast

On white

6.63
#7D3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7D3AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AB8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AB8#FFFFFF#000000##FFFFFF
##7D3AB81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#085DB5
Tritanopia (blue-blind)
#725674
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3ab8;
/* rgb */ color: rgb(125, 58, 184);
/* oklch */ color: oklch(50.0% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#a775ce',
    500: '#7d3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ab8;
$custom-light: #a775ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ab8",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 271.905,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.19069,
    "h": 304.7
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#7D3AB8
secondary
#A5C787
accent
#DC4C8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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