#7D3CB5#7D3CB5

#7D3CB5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.185 H 305.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7D3CB5
RGBrgb(125, 60, 181)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 67%, 71%)
CMYKcmyk(30.9%, 66.9%, 0%, 29%)
CIE-LABlab(39.46, 50.26, -53.19)
CIE-LCHlch(39.46, 73.18, 313.38°)
OKLaboklab(50.01% 0.1068 -0.1509)
OKLCHoklch(50.01% 0.185 305.3)
XYZxyz(18.4120, 10.9280, 44.8464)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CB5 #74B53C
analogous
#403CB5 #7D3CB5 #B53CB1
triadic
#7D3CB5 #B57D3C #3CB57D
tetradic
#7D3CB5 #B5403C #74B53C #3CB1B5
square
#7D3CB5 #B5403C #74B53C #3CB1B5
split-complementary
#7D3CB5 #B1B53C #3CB540
monochromatic
#3E1E59 #5D2D87 #7D3CB5 #9B63CB #B891DB

Accessibility & contrast

On white

6.59
#7D3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CB5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CB5#FFFFFF#000000##FFFFFF
##7D3CB51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#735773
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3cb5;
/* rgb */ color: rgb(125, 60, 181);
/* oklch */ color: oklch(50.0% 0.185 305.3);
Tailwind
colors: {
  custom: {
    50: '#a776cc',
    500: '#7d3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cb5;
$custom-light: #a776cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cb5",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 272.231,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.18484,
    "h": 305.3
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#7D3CB5
secondary
#A4C687
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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