#7D3DBE#7D3DBE

#7D3DBE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.193 H 302.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7D3DBE
RGBrgb(125, 61, 190)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(34.2%, 67.9%, 0%, 25.5%)
CIE-LABlab(40.27, 51.94, -57.16)
CIE-LCHlch(40.27, 77.23, 312.26°)
OKLaboklab(50.79% 0.1047 -0.1625)
OKLCHoklch(50.79% 0.193 302.8)
XYZxyz(19.4183, 11.4152, 49.8855)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DBE #7EBE3D
analogous
#3D3EBE #7D3DBE #BD3DBE
triadic
#7D3DBE #BE7D3D #3DBE7D
tetradic
#7D3DBE #BE3D3E #7EBE3D #3DBEBD
square
#7D3DBE #BE3D3E #7EBE3D #3DBEBD
split-complementary
#7D3DBE #BEBD3D #3EBE3D
monochromatic
#401F61 #5F2E90 #7D3DBE #9C69CF #BA98DE

Accessibility & contrast

On white

6.40
#7D3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7D3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DBE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DBE#FFFFFF#000000##FFFFFF
##7D3DBE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#705A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3dbe;
/* rgb */ color: rgb(125, 61, 190);
/* oklch */ color: oklch(50.8% 0.193 302.8);
Tailwind
colors: {
  custom: {
    50: '#a877d2',
    500: '#7d3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dbe;
$custom-light: #a877d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dbe",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 269.767,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.19333,
    "h": 302.8
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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