#7D3CB7#7D3CB7

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

Color values

HEX#7D3CB7
RGBrgb(125, 60, 183)
HSLhsl(272, 51%, 48%)
HSVhsv(272, 67%, 72%)
CMYKcmyk(31.7%, 67.2%, 0%, 28.2%)
CIE-LABlab(39.60, 50.74, -54.14)
CIE-LCHlch(39.60, 74.20, 313.14°)
OKLaboklab(50.15% 0.1066 -0.1537)
OKLCHoklch(50.15% 0.187 304.7)
XYZxyz(18.6186, 11.0107, 45.9350)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CB7 #76B73C
analogous
#3F3CB7 #7D3CB7 #B73CB4
triadic
#7D3CB7 #B77D3C #3CB77D
tetradic
#7D3CB7 #B73F3C #76B73C #3CB4B7
square
#7D3CB7 #B73F3C #76B73C #3CB4B7
split-complementary
#7D3CB7 #B4B73C #3CB73F
monochromatic
#3E1E5B #5E2D89 #7D3CB7 #9B64CC #B992DB

Accessibility & contrast

On white

6.56
#7D3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D3CB7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CB7#FFFFFF#000000##FFFFFF
##7D3CB71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#725774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3cb7;
/* rgb */ color: rgb(125, 60, 183);
/* oklch */ color: oklch(50.2% 0.187 304.7);
Tailwind
colors: {
  custom: {
    50: '#a776cd',
    500: '#7d3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cb7;
$custom-light: #a776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cb7",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 271.707,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.18701,
    "h": 304.7
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#7D3CB7
secondary
#A6C688
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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