#7D3EB5#7D3EB5

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

Color values

HEX#7D3EB5
RGBrgb(125, 62, 181)
HSLhsl(272, 49%, 48%)
HSVhsv(272, 66%, 71%)
CMYKcmyk(30.9%, 65.7%, 0%, 29%)
CIE-LABlab(39.82, 49.27, -52.61)
CIE-LCHlch(39.82, 72.08, 313.12°)
OKLaboklab(50.27% 0.1045 -0.1492)
OKLCHoklch(50.27% 0.182 305)
XYZxyz(18.5187, 11.1415, 44.8820)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EB5 #76B53E
analogous
#423EB5 #7D3EB5 #B53EB1
triadic
#7D3EB5 #B57D3E #3EB57D
tetradic
#7D3EB5 #B5423E #76B53E #3EB1B5
square
#7D3EB5 #B5423E #76B53E #3EB1B5
split-complementary
#7D3EB5 #B1B53E #3EB542
monochromatic
#3E1F5A #5E2E87 #7D3EB5 #9B66CA #B993DA

Accessibility & contrast

On white

6.51
#7D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7D3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EB5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EB5#FFFFFF#000000##FFFFFF
##7D3EB51.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#735874
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3eb5;
/* rgb */ color: rgb(125, 62, 181);
/* oklch */ color: oklch(50.3% 0.182 305.0);
Tailwind
colors: {
  custom: {
    50: '#a777cc',
    500: '#7d3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eb5;
$custom-light: #a777cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eb5",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 271.765,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.18215,
    "h": 305
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#7D3EB5
secondary
#A6C589
accent
#D94F90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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