#7D3EBC#7D3EBC

#7D3EBC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.190 H 303.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7D3EBC
RGBrgb(125, 62, 188)
HSLhsl(270, 50%, 49%)
HSVhsv(270, 67%, 74%)
CMYKcmyk(33.5%, 67%, 0%, 26.3%)
CIE-LABlab(40.31, 50.96, -55.94)
CIE-LCHlch(40.31, 75.67, 312.33°)
OKLaboklab(50.77% 0.1038 -0.1589)
OKLCHoklch(50.77% 0.19 303.2)
XYZxyz(19.2551, 11.4361, 48.7602)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EBC #7DBC3E
analogous
#3E3EBC #7D3EBC #BC3EBC
triadic
#7D3EBC #BC7D3E #3EBC7D
tetradic
#7D3EBC #BC3E3E #7DBC3E #3EBCBC
square
#7D3EBC #BC3E3E #7DBC3E #3EBCBC
split-complementary
#7D3EBC #BCBC3E #3EBC3E
monochromatic
#402060 #5E2F8E #7D3EBC #9C6ACE #BA98DD

Accessibility & contrast

On white

6.39
#7D3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7D3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EBC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EBC#FFFFFF#000000##FFFFFF
##7D3EBC1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#075FB9
Tritanopia (blue-blind)
#715A78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ebc;
/* rgb */ color: rgb(125, 62, 188);
/* oklch */ color: oklch(50.8% 0.190 303.2);
Tailwind
colors: {
  custom: {
    50: '#a778d1',
    500: '#7d3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ebc;
$custom-light: #a778d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ebc",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.18985,
    "h": 303.2
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#7D3EBC
secondary
#ABC98D
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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