#7C34CC#7C34CC

#7C34CC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.218 H 300.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7C34CC
RGBrgb(124, 52, 204)
HSLhsl(268, 60%, 50%)
HSVhsv(268, 75%, 80%)
CMYKcmyk(39.2%, 74.5%, 0%, 20%)
CIE-LABlab(39.75, 59.24, -66.17)
CIE-LCHlch(39.75, 88.82, 311.84°)
OKLaboklab(50.73% 0.1095 -0.189)
OKLCHoklch(50.73% 0.218 300.1)
XYZxyz(20.4365, 11.1005, 58.1809)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C34CC #84CC34
analogous
#3438CC #7C34CC #C834CC
triadic
#7C34CC #CC7C34 #34CC7C
tetradic
#7C34CC #CC3438 #84CC34 #34CCC8
square
#7C34CC #CC3438 #84CC34 #34CCC8
split-complementary
#7C34CC #CCC834 #38CC34
monochromatic
#411B6B #5E279C #7C34CC #9C65D8 #BB96E5

Accessibility & contrast

On white

6.52
#7C34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7C34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C34CC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C34CC#FFFFFF#000000##FFFFFF
##7C34CC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#695B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c34cc;
/* rgb */ color: rgb(124, 52, 204);
/* oklch */ color: oklch(50.7% 0.218 300.1);
Tailwind
colors: {
  custom: {
    50: '#a973dd',
    500: '#7c34cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c34cc;
$custom-light: #a973dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c34cc",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 268.421,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.21846,
    "h": 300.1
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#7C34CC
secondary
#B0D08C
accent
#E34598
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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