#7D3BDD#7D3BDD

#7D3BDD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.229 H 296.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7D3BDD
RGBrgb(125, 59, 221)
HSLhsl(264, 70%, 55%)
HSVhsv(264, 73%, 87%)
CMYKcmyk(43.4%, 73.3%, 0%, 13.3%)
CIE-LABlab(42.32, 60.51, -71.76)
CIE-LCHlch(42.32, 93.87, 310.14°)
OKLaboklab(52.99% 0.101 -0.2054)
OKLCHoklch(52.99% 0.229 296.2)
XYZxyz(23.0691, 12.7078, 69.6300)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BDD #9BDD3B
analogous
#3B4ADD #7D3BDD #CE3BDD
triadic
#7D3BDD #DD7D3B #3BDD7D
tetradic
#7D3BDD #DD3B4A #9BDD3B #3BDDCE
square
#7D3BDD #DD3B4A #9BDD3B #3BDDCE
split-complementary
#7D3BDD #DDCE3B #4ADD3B
monochromatic
#451786 #5F20BA #7D3BDD #A06FE6 #C2A3EF

Accessibility & contrast

On white

5.93
#7D3BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7D3BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BDD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BDD#FFFFFF#000000##FFFFFF
##7D3BDD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E2
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#636589
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d3bdd;
/* rgb */ color: rgb(125, 59, 221);
/* oklch */ color: oklch(53.0% 0.229 296.2);
Tailwind
colors: {
  custom: {
    50: '#ab77e9',
    500: '#7d3bdd',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bdd;
$custom-light: #ab77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bdd",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 221
  },
  "hsl": {
    "h": 264.444,
    "s": 70.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.22891,
    "h": 296.2
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#7D3BDD
secondary
#C0DC98
accent
#ED3BA4
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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