#7D3CBE#7D3CBE

#7D3CBE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.195 H 302.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D3CBE
RGBrgb(125, 60, 190)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(34.2%, 68.4%, 0%, 25.5%)
CIE-LABlab(40.10, 52.42, -57.45)
CIE-LCHlch(40.10, 77.77, 312.38°)
OKLaboklab(50.67% 0.1057 -0.1634)
OKLCHoklch(50.67% 0.195 302.9)
XYZxyz(19.3654, 11.3094, 49.8679)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CBE #7DBE3C
analogous
#3C3CBE #7D3CBE #BE3CBE
triadic
#7D3CBE #BE7D3C #3CBE7D
tetradic
#7D3CBE #BE3C3C #7DBE3C #3CBEBE
square
#7D3CBE #BE3C3C #7DBE3C #3CBEBE
split-complementary
#7D3CBE #BEBE3C #3CBE3C
monochromatic
#401F61 #5E2D8F #7D3CBE #9C68CF #BA96DE

Accessibility & contrast

On white

6.44
#7D3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CBE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CBE#FFFFFF#000000##FFFFFF
##7D3CBE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#705A78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3cbe;
/* rgb */ color: rgb(125, 60, 190);
/* oklch */ color: oklch(50.7% 0.195 302.9);
Tailwind
colors: {
  custom: {
    50: '#a876d2',
    500: '#7d3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cbe;
$custom-light: #a876d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cbe",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.19461,
    "h": 302.9
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#7D3CBE
secondary
#ABCA8C
accent
#DB4C94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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