#7D34DD#7D34DD

#7D34DD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.236 H 296.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7D34DD
RGBrgb(125, 52, 221)
HSLhsl(266, 71%, 54%)
HSVhsv(266, 76%, 87%)
CMYKcmyk(43.4%, 76.5%, 0%, 13.3%)
CIE-LABlab(41.27, 63.50, -73.47)
CIE-LCHlch(41.27, 97.11, 310.84°)
OKLaboklab(52.26% 0.1067 -0.2104)
OKLCHoklch(52.26% 0.236 296.9)
XYZxyz(22.7331, 12.0359, 69.5180)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34DD #94DD34
analogous
#343FDD #7D34DD #D134DD
triadic
#7D34DD #DD7D34 #34DD7D
tetradic
#7D34DD #DD343F #94DD34 #34DDD1
square
#7D34DD #DD343F #94DD34 #34DDD1
split-complementary
#7D34DD #DDD134 #3FDD34
monochromatic
#441681 #601EB5 #7D34DD #9F68E6 #C09DEF

Accessibility & contrast

On white

6.16
#7D34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7D34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34DD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34DD#FFFFFF#000000##FFFFFF
##7D34DD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#636288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d34dd;
/* rgb */ color: rgb(125, 52, 221);
/* oklch */ color: oklch(52.3% 0.236 296.9);
Tailwind
colors: {
  custom: {
    50: '#ab74e9',
    500: '#7d34dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d34dd;
$custom-light: #ab74e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34dd",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 265.917,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.23591,
    "h": 296.9
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#7D34DD
secondary
#BBDB92
accent
#EE3AA0
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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