#7D3EB7#7D3EB7

#7D3EB7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.184 H 304.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7D3EB7
RGBrgb(125, 62, 183)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 66%, 72%)
CMYKcmyk(31.7%, 66.1%, 0%, 28.2%)
CIE-LABlab(39.96, 49.75, -53.56)
CIE-LCHlch(39.96, 73.10, 312.89°)
OKLaboklab(50.41% 0.1043 -0.152)
OKLCHoklch(50.41% 0.184 304.5)
XYZxyz(18.7254, 11.2242, 45.9706)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EB7 #78B73E
analogous
#413EB7 #7D3EB7 #B73EB4
triadic
#7D3EB7 #B77D3E #3EB77D
tetradic
#7D3EB7 #B7413E #78B73E #3EB4B7
square
#7D3EB7 #B7413E #78B73E #3EB4B7
split-complementary
#7D3EB7 #B4B73E #3EB741
monochromatic
#3F1F5C #5E2F89 #7D3EB7 #9B67CB #B994DB

Accessibility & contrast

On white

6.47
#7D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7D3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EB7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EB7#FFFFFF#000000##FFFFFF
##7D3EB71.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#175EB4
Tritanopia (blue-blind)
#725875
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3eb7;
/* rgb */ color: rgb(125, 62, 183);
/* oklch */ color: oklch(50.4% 0.184 304.5);
Tailwind
colors: {
  custom: {
    50: '#a777cd',
    500: '#7d3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eb7;
$custom-light: #a777cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eb7",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 271.24,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.18435,
    "h": 304.5
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#7D3EB7
secondary
#A7C68A
accent
#D94F91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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