#7D3DBB#7D3DBB

#7D3DBB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.190 H 303.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7D3DBB
RGBrgb(125, 61, 187)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 67%, 73%)
CMYKcmyk(33.2%, 67.4%, 0%, 26.7%)
CIE-LABlab(40.06, 51.21, -55.75)
CIE-LCHlch(40.06, 75.70, 312.57°)
OKLaboklab(50.57% 0.105 -0.1584)
OKLCHoklch(50.57% 0.19 303.5)
XYZxyz(19.0938, 11.2853, 48.1765)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DBB #7BBB3D
analogous
#3E3DBB #7D3DBB #BB3DBA
triadic
#7D3DBB #BB7D3D #3DBB7D
tetradic
#7D3DBB #BB3E3D #7BBB3D #3DBABB
square
#7D3DBB #BB3E3D #7BBB3D #3DBABB
split-complementary
#7D3DBB #BABB3D #3DBB3E
monochromatic
#3F1F5F #5E2E8D #7D3DBB #9B68CE #BA96DD

Accessibility & contrast

On white

6.45
#7D3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DBB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DBB#FFFFFF#000000##FFFFFF
##7D3DBB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#715977
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3dbb;
/* rgb */ color: rgb(125, 61, 187);
/* oklch */ color: oklch(50.6% 0.190 303.5);
Tailwind
colors: {
  custom: {
    50: '#a777d0',
    500: '#7d3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dbb;
$custom-light: #a777d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dbb",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 270.476,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.19006,
    "h": 303.5
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#7D3DBB
secondary
#A9C88C
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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