#7D3DBD#7D3DBD

#7D3DBD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.192 H 303.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7D3DBD
RGBrgb(125, 61, 189)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 68%, 74%)
CMYKcmyk(33.9%, 67.7%, 0%, 25.9%)
CIE-LABlab(40.20, 51.69, -56.69)
CIE-LCHlch(40.20, 76.72, 312.36°)
OKLaboklab(50.72% 0.1048 -0.1612)
OKLCHoklch(50.72% 0.192 303)
XYZxyz(19.3094, 11.3716, 49.3119)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DBD #7DBD3D
analogous
#3D3DBD #7D3DBD #BD3DBD
triadic
#7D3DBD #BD7D3D #3DBD7D
tetradic
#7D3DBD #BD3D3D #7DBD3D #3DBDBD
square
#7D3DBD #BD3D3D #7DBD3D #3DBDBD
split-complementary
#7D3DBD #BDBD3D #3DBD3D
monochromatic
#401F60 #5E2E8F #7D3DBD #9C69CE #BA97DD

Accessibility & contrast

On white

6.41
#7D3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DBD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DBD#FFFFFF#000000##FFFFFF
##7D3DBD1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#705A78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3dbd;
/* rgb */ color: rgb(125, 61, 189);
/* oklch */ color: oklch(50.7% 0.192 303.0);
Tailwind
colors: {
  custom: {
    50: '#a877d2',
    500: '#7d3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dbd;
$custom-light: #a877d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dbd",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.19224,
    "h": 303
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#7D3DBD
secondary
#ABC98D
accent
#DB4D94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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