#7D3ABC#7D3ABC

#7D3ABC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.195 H 303.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7D3ABC
RGBrgb(125, 58, 188)
HSLhsl(271, 53%, 48%)
HSVhsv(271, 69%, 74%)
CMYKcmyk(33.5%, 69.1%, 0%, 26.3%)
CIE-LABlab(39.61, 52.89, -57.06)
CIE-LCHlch(39.61, 77.81, 312.83°)
OKLaboklab(50.27% 0.1081 -0.1622)
OKLCHoklch(50.27% 0.195 303.7)
XYZxyz(19.0455, 11.0170, 48.6903)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ABC #79BC3A
analogous
#3C3ABC #7D3ABC #BC3ABA
triadic
#7D3ABC #BC7D3A #3ABC7D
tetradic
#7D3ABC #BC3C3A #79BC3A #3ABABC
square
#7D3ABC #BC3C3A #79BC3A #3ABABC
split-complementary
#7D3ABC #BABC3A #3ABC3C
monochromatic
#3F1D5E #5E2C8D #7D3ABC #9B64CF #B993DE

Accessibility & contrast

On white

6.56
#7D3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7D3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ABC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ABC#FFFFFF#000000##FFFFFF
##7D3ABC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#715877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3abc;
/* rgb */ color: rgb(125, 58, 188);
/* oklch */ color: oklch(50.3% 0.195 303.7);
Tailwind
colors: {
  custom: {
    50: '#a875d1',
    500: '#7d3abc',
    950: '#000000',
  },
}
SCSS
$custom: #7d3abc;
$custom-light: #a875d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3abc",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 270.923,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.19498,
    "h": 303.7
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#7D3ABC
secondary
#A8C989
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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