#7D3DB7#7D3DB7

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

Color values

HEX#7D3DB7
RGBrgb(125, 61, 183)
HSLhsl(271, 50%, 48%)
HSVhsv(271, 67%, 72%)
CMYKcmyk(31.7%, 66.7%, 0%, 28.2%)
CIE-LABlab(39.78, 50.25, -53.85)
CIE-LCHlch(39.78, 73.65, 313.01°)
OKLaboklab(50.28% 0.1055 -0.1528)
OKLCHoklch(50.28% 0.186 304.6)
XYZxyz(18.6715, 11.1164, 45.9526)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DB7 #77B73D
analogous
#403DB7 #7D3DB7 #B73DB4
triadic
#7D3DB7 #B77D3D #3DB77D
tetradic
#7D3DB7 #B7403D #77B73D #3DB4B7
square
#7D3DB7 #B7403D #77B73D #3DB4B7
split-complementary
#7D3DB7 #B4B73D #3DB740
monochromatic
#3E1E5B #5E2E89 #7D3DB7 #9B65CC #B993DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D3DB7#FFFFFF#000000##FFFFFF
##7D3DB71.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)
#005CBB
Deuteranopia (green-blind)
#155EB4
Tritanopia (blue-blind)
#725875
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3db7;
/* rgb */ color: rgb(125, 61, 183);
/* oklch */ color: oklch(50.3% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#a777cd',
    500: '#7d3db7',
    950: '#000000',
  },
}
SCSS
$custom: #7d3db7;
$custom-light: #a777cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3db7",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 271.475,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.18569,
    "h": 304.6
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#7D3DB7
secondary
#A6C689
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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