#7D3EB9#7D3EB9

#7D3EB9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.187 H 303.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D3EB9
RGBrgb(125, 62, 185)
HSLhsl(271, 50%, 48%)
HSVhsv(271, 66%, 73%)
CMYKcmyk(32.4%, 66.5%, 0%, 27.5%)
CIE-LABlab(40.09, 50.23, -54.52)
CIE-LCHlch(40.09, 74.13, 312.66°)
OKLaboklab(50.55% 0.1041 -0.1548)
OKLCHoklch(50.55% 0.187 303.9)
XYZxyz(18.9350, 11.3081, 47.0747)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EB9 #7AB93E
analogous
#3F3EB9 #7D3EB9 #B93EB7
triadic
#7D3EB9 #B97D3E #3EB97D
tetradic
#7D3EB9 #B93F3E #7AB93E #3EB7B9
square
#7D3EB9 #B93F3E #7AB93E #3EB7B9
split-complementary
#7D3EB9 #B7B93E #3EB93F
monochromatic
#3F1F5D #5E2F8B #7D3EB9 #9B68CC #BA96DC

Accessibility & contrast

On white

6.44
#7D3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D3EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EB9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EB9#FFFFFF#000000##FFFFFF
##7D3EB91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#125EB6
Tritanopia (blue-blind)
#725976
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3eb9;
/* rgb */ color: rgb(125, 62, 185);
/* oklch */ color: oklch(50.6% 0.187 303.9);
Tailwind
colors: {
  custom: {
    50: '#a777cf',
    500: '#7d3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eb9;
$custom-light: #a777cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eb9",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 270.732,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.18655,
    "h": 303.9
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#7D3EB9
secondary
#A9C78C
accent
#D94E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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