#7D3AB2#7D3AB2

#7D3AB2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 306.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D3AB2
RGBrgb(125, 58, 178)
HSLhsl(274, 51%, 46%)
HSVhsv(274, 67%, 70%)
CMYKcmyk(29.8%, 67.4%, 0%, 30.2%)
CIE-LABlab(38.90, 50.52, -52.32)
CIE-LCHlch(38.90, 72.73, 314.00°)
OKLaboklab(49.54% 0.1094 -0.1483)
OKLCHoklch(49.54% 0.184 306.4)
XYZxyz(18.0047, 10.6006, 43.2085)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AB2 #6FB23A
analogous
#413AB2 #7D3AB2 #B23AAB
triadic
#7D3AB2 #B27D3A #3AB27D
tetradic
#7D3AB2 #B2413A #6FB23A #3AABB2
square
#7D3AB2 #B2413A #6FB23A #3AABB2
split-complementary
#7D3AB2 #ABB23A #3AB241
monochromatic
#3C1C56 #5D2B84 #7D3AB2 #9B5FCB #B88DDA

Accessibility & contrast

On white

6.73
#7D3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D3AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AB2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AB2#FFFFFF#000000##FFFFFF
##7D3AB21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#1A5CAF
Tritanopia (blue-blind)
#745471
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3ab2;
/* rgb */ color: rgb(125, 58, 178);
/* oklch */ color: oklch(49.5% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#a775ca',
    500: '#7d3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ab2;
$custom-light: #a775ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ab2",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 273.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.18426,
    "h": 306.4
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#7D3AB2
secondary
#A0C483
accent
#DA4D8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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