#7D3DB3#7D3DB3

#7D3DB3 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.181 H 305.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D3DB3
RGBrgb(125, 61, 179)
HSLhsl(273, 49%, 47%)
HSVhsv(273, 66%, 70%)
CMYKcmyk(30.2%, 65.9%, 0%, 29.8%)
CIE-LABlab(39.50, 49.29, -51.94)
CIE-LCHlch(39.50, 71.60, 313.50°)
OKLaboklab(50% 0.1059 -0.1472)
OKLCHoklch(50% 0.181 305.7)
XYZxyz(18.2611, 10.9523, 43.7911)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DB3 #73B33D
analogous
#423DB3 #7D3DB3 #B33DAE
triadic
#7D3DB3 #B37D3D #3DB37D
tetradic
#7D3DB3 #B3423D #73B33D #3DAEB3
square
#7D3DB3 #B3423D #73B33D #3DAEB3
split-complementary
#7D3DB3 #AEB33D #3DB342
monochromatic
#3D1E58 #5D2D85 #7D3DB3 #9B63CA #B891D9

Accessibility & contrast

On white

6.58
#7D3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D3DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DB3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DB3#FFFFFF#000000##FFFFFF
##7D3DB31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#745673
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3db3;
/* rgb */ color: rgb(125, 61, 179);
/* oklch */ color: oklch(50.0% 0.181 305.7);
Tailwind
colors: {
  custom: {
    50: '#a777ca',
    500: '#7d3db3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3db3;
$custom-light: #a777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3db3",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 272.542,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.18131,
    "h": 305.7
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#7D3DB3
secondary
#A3C587
accent
#D94F8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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