#7D3BB9#7D3BB9

#7D3BB9 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.190 H 304.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7D3BB9
RGBrgb(125, 59, 185)
HSLhsl(271, 52%, 48%)
HSVhsv(271, 68%, 73%)
CMYKcmyk(32.4%, 68.1%, 0%, 27.5%)
CIE-LABlab(39.56, 51.70, -55.37)
CIE-LCHlch(39.56, 75.75, 313.03°)
OKLaboklab(50.17% 0.1075 -0.1573)
OKLCHoklch(50.17% 0.19 304.3)
XYZxyz(18.7764, 10.9908, 47.0218)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB9 #77B93B
analogous
#3E3BB9 #7D3BB9 #B93BB6
triadic
#7D3BB9 #B97D3B #3BB97D
tetradic
#7D3BB9 #B93E3B #77B93B #3BB6B9
square
#7D3BB9 #B93E3B #77B93B #3BB6B9
split-complementary
#7D3BB9 #B6B93B #3BB93E
monochromatic
#3E1D5C #5E2C8B #7D3BB9 #9B64CD #B992DC

Accessibility & contrast

On white

6.57
#7D3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7D3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB9#FFFFFF#000000##FFFFFF
##7D3BB91.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d3bb9;
/* rgb */ color: rgb(125, 59, 185);
/* oklch */ color: oklch(50.2% 0.190 304.3);
Tailwind
colors: {
  custom: {
    50: '#a776cf',
    500: '#7d3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb9;
$custom-light: #a776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb9",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 271.429,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.19048,
    "h": 304.3
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#7D3BB9
secondary
#A6C788
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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