#7D3CB9#7D3CB9

#7D3CB9 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.189 H 304.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7D3CB9
RGBrgb(125, 60, 185)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 68%, 73%)
CMYKcmyk(32.4%, 67.6%, 0%, 27.5%)
CIE-LABlab(39.74, 51.22, -55.09)
CIE-LCHlch(39.74, 75.22, 312.91°)
OKLaboklab(50.3% 0.1064 -0.1565)
OKLCHoklch(50.3% 0.189 304.2)
XYZxyz(18.8283, 11.0945, 47.0391)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CB9 #78B93C
analogous
#3F3CB9 #7D3CB9 #B93CB6
triadic
#7D3CB9 #B97D3C #3CB97D
tetradic
#7D3CB9 #B93F3C #78B93C #3CB6B9
square
#7D3CB9 #B93F3C #78B93C #3CB6B9
split-complementary
#7D3CB9 #B6B93C #3CB93F
monochromatic
#3F1E5D #5E2D8B #7D3CB9 #9B65CD #B993DC

Accessibility & contrast

On white

6.52
#7D3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CB9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CB9#FFFFFF#000000##FFFFFF
##7D3CB91.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0C5EB6
Tritanopia (blue-blind)
#725876
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3cb9;
/* rgb */ color: rgb(125, 60, 185);
/* oklch */ color: oklch(50.3% 0.189 304.2);
Tailwind
colors: {
  custom: {
    50: '#a776cf',
    500: '#7d3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cb9;
$custom-light: #a776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cb9",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 271.2,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.18919,
    "h": 304.2
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#7D3CB9
secondary
#A7C789
accent
#DA4D91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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