#7D3DBA#7D3DBA

#7D3DBA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.189 H 303.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7D3DBA
RGBrgb(125, 61, 186)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 67%, 73%)
CMYKcmyk(32.8%, 67.2%, 0%, 27.1%)
CIE-LABlab(39.99, 50.97, -55.28)
CIE-LCHlch(39.99, 75.19, 312.68°)
OKLaboklab(50.5% 0.1052 -0.157)
OKLCHoklch(50.5% 0.189 303.8)
XYZxyz(18.9871, 11.2427, 47.6146)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DBA #7ABA3D
analogous
#3E3DBA #7D3DBA #BA3DB8
triadic
#7D3DBA #BA7D3D #3DBA7D
tetradic
#7D3DBA #BA3E3D #7ABA3D #3DB8BA
square
#7D3DBA #BA3E3D #7ABA3D #3DB8BA
split-complementary
#7D3DBA #B8BA3D #3DBA3E
monochromatic
#3F1F5E #5E2E8C #7D3DBA #9B67CD #BA95DC

Accessibility & contrast

On white

6.46
#7D3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7D3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DBA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DBA#FFFFFF#000000##FFFFFF
##7D3DBA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0C5EB7
Tritanopia (blue-blind)
#715976
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3dba;
/* rgb */ color: rgb(125, 61, 186);
/* oklch */ color: oklch(50.5% 0.189 303.8);
Tailwind
colors: {
  custom: {
    50: '#a777cf',
    500: '#7d3dba',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dba;
$custom-light: #a777cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dba",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 270.72,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.18897,
    "h": 303.8
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#7D3DBA
secondary
#A9C88B
accent
#DA4E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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