#7C34DD#7C34DD

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

Color values

HEX#7C34DD
RGBrgb(124, 52, 221)
HSLhsl(266, 71%, 54%)
HSVhsv(266, 76%, 87%)
CMYKcmyk(43.9%, 76.5%, 0%, 13.3%)
CIE-LABlab(41.15, 63.35, -73.67)
CIE-LCHlch(41.15, 97.16, 310.69°)
OKLaboklab(52.15% 0.1053 -0.211)
OKLCHoklch(52.15% 0.236 296.5)
XYZxyz(22.5879, 11.9610, 69.5112)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C34DD #95DD34
analogous
#3440DD #7C34DD #D034DD
triadic
#7C34DD #DD7C34 #34DD7C
tetradic
#7C34DD #DD3440 #95DD34 #34DDD0
square
#7C34DD #DD3440 #95DD34 #34DDD0
split-complementary
#7C34DD #DDD034 #40DD34
monochromatic
#431681 #5F1EB5 #7C34DD #9E68E6 #C09DEF

Accessibility & contrast

On white

6.19
#7C34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7C34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C34DD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C34DD#FFFFFF#000000##FFFFFF
##7C34DD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c34dd;
/* rgb */ color: rgb(124, 52, 221);
/* oklch */ color: oklch(52.1% 0.236 296.5);
Tailwind
colors: {
  custom: {
    50: '#aa73e9',
    500: '#7c34dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c34dd;
$custom-light: #aa73e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c34dd",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 265.562,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.23582,
    "h": 296.5
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#7C34DD
secondary
#BCDB92
accent
#EE3AA1
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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