#7D3EBD#7D3EBD

#7D3EBD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.191 H 302.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7D3EBD
RGBrgb(125, 62, 189)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 67%, 74%)
CMYKcmyk(33.9%, 67.2%, 0%, 25.9%)
CIE-LABlab(40.38, 51.20, -56.41)
CIE-LCHlch(40.38, 76.18, 312.23°)
OKLaboklab(50.85% 0.1037 -0.1603)
OKLCHoklch(50.85% 0.191 302.9)
XYZxyz(19.3632, 11.4793, 49.3299)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EBD #7EBD3E
analogous
#3E3EBD #7D3EBD #BD3EBD
triadic
#7D3EBD #BD7D3E #3EBD7D
tetradic
#7D3EBD #BD3E3E #7EBD3E #3EBDBD
square
#7D3EBD #BD3E3E #7EBD3E #3EBDBD
split-complementary
#7D3EBD #BDBD3E #3EBD3E
monochromatic
#402061 #5F2F8F #7D3EBD #9C6ACE #BA98DD

Accessibility & contrast

On white

6.37
#7D3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EBD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EBD#FFFFFF#000000##FFFFFF
##7D3EBD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#035FBA
Tritanopia (blue-blind)
#705B78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ebd;
/* rgb */ color: rgb(125, 62, 189);
/* oklch */ color: oklch(50.8% 0.191 302.9);
Tailwind
colors: {
  custom: {
    50: '#a778d2',
    500: '#7d3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ebd;
$custom-light: #a778d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ebd",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 269.764,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.19095,
    "h": 302.9
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#7D3EBD
secondary
#ACC98E
accent
#DA4E94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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