#7D34D1#7D34D1

#7D34D1 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.224 H 299.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7D34D1
RGBrgb(125, 52, 209)
HSLhsl(268, 63%, 51%)
HSVhsv(268, 75%, 82%)
CMYKcmyk(40.2%, 75.1%, 0%, 18%)
CIE-LABlab(40.28, 60.61, -68.20)
CIE-LCHlch(40.28, 91.24, 311.63°)
OKLaboklab(51.25% 0.1098 -0.1949)
OKLCHoklch(51.25% 0.224 299.4)
XYZxyz(21.1912, 11.4191, 61.3969)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34D1 #88D134
analogous
#3439D1 #7D34D1 #CB34D1
triadic
#7D34D1 #D17D34 #34D17D
tetradic
#7D34D1 #D13439 #88D134 #34D1CB
square
#7D34D1 #D13439 #88D134 #34D1CB
split-complementary
#7D34D1 #D1CB34 #39D134
monochromatic
#421A71 #5F25A3 #7D34D1 #9D66DC #BD98E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D34D1#FFFFFF#000000##FFFFFF
##7D34D11.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)
#005FD5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#695D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d34d1;
/* rgb */ color: rgb(125, 52, 209);
/* oklch */ color: oklch(51.3% 0.224 299.4);
Tailwind
colors: {
  custom: {
    50: '#aa73e0',
    500: '#7d34d1',
    950: '#000000',
  },
}
SCSS
$custom: #7d34d1;
$custom-light: #aa73e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34d1",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 267.898,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.22371,
    "h": 299.4
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#7D34D1
secondary
#B3D38E
accent
#E6429A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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