#7D3CBB#7D3CBB

#7D3CBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.191 H 303.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7D3CBB
RGBrgb(125, 60, 187)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 68%, 73%)
CMYKcmyk(33.2%, 67.9%, 0%, 26.7%)
CIE-LABlab(39.88, 51.70, -56.04)
CIE-LCHlch(39.88, 76.24, 312.69°)
OKLaboklab(50.45% 0.1061 -0.1592)
OKLCHoklch(50.45% 0.191 303.7)
XYZxyz(19.0409, 11.1796, 48.1588)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CBB #7ABB3C
analogous
#3E3CBB #7D3CBB #BB3CB9
triadic
#7D3CBB #BB7D3C #3CBB7D
tetradic
#7D3CBB #BB3E3C #7ABB3C #3CB9BB
square
#7D3CBB #BB3E3C #7ABB3C #3CB9BB
split-complementary
#7D3CBB #B9BB3C #3CBB3E
monochromatic
#3F1E5E #5E2D8D #7D3CBB #9B66CE #BA95DD

Accessibility & contrast

On white

6.49
#7D3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7D3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CBB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CBB#FFFFFF#000000##FFFFFF
##7D3CBB1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#715977
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3cbb;
/* rgb */ color: rgb(125, 60, 187);
/* oklch */ color: oklch(50.4% 0.191 303.7);
Tailwind
colors: {
  custom: {
    50: '#a776d0',
    500: '#7d3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cbb;
$custom-light: #a776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cbb",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 270.709,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.19135,
    "h": 303.7
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#7D3CBB
secondary
#A9C88B
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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