#7D34C9#7D34C9

#7D34C9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 301.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7D34C9
RGBrgb(125, 52, 201)
HSLhsl(269, 59%, 50%)
HSVhsv(269, 74%, 79%)
CMYKcmyk(37.8%, 74.1%, 0%, 21.2%)
CIE-LABlab(39.64, 58.70, -64.61)
CIE-LCHlch(39.64, 87.30, 312.25°)
OKLaboklab(50.6% 0.1116 -0.1844)
OKLCHoklch(50.6% 0.216 301.2)
XYZxyz(20.2255, 11.0329, 56.3110)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D34C9 #80C934
analogous
#3436C9 #7D34C9 #C834C9
triadic
#7D34C9 #C97D34 #34C97D
tetradic
#7D34C9 #C93436 #80C934 #34C9C8
square
#7D34C9 #C93436 #80C934 #34C9C8
split-complementary
#7D34C9 #C9C834 #36C934
monochromatic
#411B68 #5F2798 #7D34C9 #9C63D7 #BB94E3

Accessibility & contrast

On white

6.55
#7D34C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7D34C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D34C9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D34C9#FFFFFF#000000##FFFFFF
##7D34C91.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#6C5A7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d34c9;
/* rgb */ color: rgb(125, 52, 201);
/* oklch */ color: oklch(50.6% 0.216 301.2);
Tailwind
colors: {
  custom: {
    50: '#a973da',
    500: '#7d34c9',
    950: '#000000',
  },
}
SCSS
$custom: #7d34c9;
$custom-light: #a973da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d34c9",
  "rgb": {
    "r": 125,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 269.396,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.21554,
    "h": 301.2
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#7D34C9
secondary
#ADCE8A
accent
#E24695
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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