#7D3ABE#7D3ABE

#7D3ABE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.197 H 303.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7D3ABE
RGBrgb(125, 58, 190)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(34.2%, 69.5%, 0%, 25.5%)
CIE-LABlab(39.75, 53.37, -58.00)
CIE-LCHlch(39.75, 78.82, 312.62°)
OKLaboklab(50.42% 0.1078 -0.165)
OKLCHoklch(50.42% 0.197 303.2)
XYZxyz(19.2626, 11.1038, 49.8337)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ABE #7BBE3A
analogous
#3B3ABE #7D3ABE #BE3ABD
triadic
#7D3ABE #BE7D3A #3ABE7D
tetradic
#7D3ABE #BE3B3A #7BBE3A #3ABDBE
square
#7D3ABE #BE3B3A #7BBE3A #3ABDBE
split-complementary
#7D3ABE #BDBE3A #3ABE3B
monochromatic
#3F1D60 #5E2C8F #7D3ABE #9B65D0 #BA94DE

Accessibility & contrast

On white

6.52
#7D3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D3ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ABE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ABE#FFFFFF#000000##FFFFFF
##7D3ABE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#705978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3abe;
/* rgb */ color: rgb(125, 58, 190);
/* oklch */ color: oklch(50.4% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#a875d2',
    500: '#7d3abe',
    950: '#000000',
  },
}
SCSS
$custom: #7d3abe;
$custom-light: #a875d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3abe",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 270.455,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.19712,
    "h": 303.2
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#7D3ABE
secondary
#A9CA8A
accent
#DD4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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