#7D3BB8#7D3BB8

#7D3BB8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.189 H 304.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D3BB8
RGBrgb(125, 59, 184)
HSLhsl(272, 51%, 48%)
HSVhsv(272, 68%, 72%)
CMYKcmyk(32.1%, 67.9%, 0%, 27.8%)
CIE-LABlab(39.49, 51.46, -54.90)
CIE-LCHlch(39.49, 75.25, 313.15°)
OKLaboklab(50.1% 0.1076 -0.1559)
OKLCHoklch(50.1% 0.189 304.6)
XYZxyz(18.6712, 10.9487, 46.4678)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BB8 #76B83B
analogous
#3F3BB8 #7D3BB8 #B83BB4
triadic
#7D3BB8 #B87D3B #3BB87D
tetradic
#7D3BB8 #B83F3B #76B83B #3BB4B8
square
#7D3BB8 #B83F3B #76B83B #3BB4B8
split-complementary
#7D3BB8 #B4B83B #3BB83F
monochromatic
#3E1D5B #5E2C8A #7D3BB8 #9B63CD #B992DC

Accessibility & contrast

On white

6.58
#7D3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7D3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BB8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BB8#FFFFFF#000000##FFFFFF
##7D3BB81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#0C5DB5
Tritanopia (blue-blind)
#725775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3bb8;
/* rgb */ color: rgb(125, 59, 184);
/* oklch */ color: oklch(50.1% 0.189 304.6);
Tailwind
colors: {
  custom: {
    50: '#a776ce',
    500: '#7d3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bb8;
$custom-light: #a776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bb8",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 271.68,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.18941,
    "h": 304.6
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#7D3BB8
secondary
#A6C788
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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