#7D3BBB#7D3BBB

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

Color values

HEX#7D3BBB
RGBrgb(125, 59, 187)
HSLhsl(271, 52%, 48%)
HSVhsv(271, 68%, 73%)
CMYKcmyk(33.2%, 68.4%, 0%, 26.7%)
CIE-LABlab(39.71, 52.18, -56.32)
CIE-LCHlch(39.71, 76.77, 312.82°)
OKLaboklab(50.32% 0.1072 -0.16)
OKLCHoklch(50.32% 0.193 303.8)
XYZxyz(18.9890, 11.0758, 48.1415)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BBB #79BB3B
analogous
#3D3BBB #7D3BBB #BB3BB9
triadic
#7D3BBB #BB7D3B #3BBB7D
tetradic
#7D3BBB #BB3D3B #79BB3B #3BB9BB
square
#7D3BBB #BB3D3B #79BB3B #3BB9BB
split-complementary
#7D3BBB #B9BB3B #3BBB3D
monochromatic
#3F1E5E #5E2C8C #7D3BBB #9B65CE #B993DD

Accessibility & contrast

On white

6.53
#7D3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D3BBB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BBB#FFFFFF#000000##FFFFFF
##7D3BBB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#715876
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3bbb;
/* rgb */ color: rgb(125, 59, 187);
/* oklch */ color: oklch(50.3% 0.193 303.8);
Tailwind
colors: {
  custom: {
    50: '#a776d0',
    500: '#7d3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bbb;
$custom-light: #a776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bbb",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 270.938,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.19263,
    "h": 303.8
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#7D3BBB
secondary
#A8C88A
accent
#DB4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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