#7C39C4#7C39C4

#7C39C4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.205 H 301.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7C39C4
RGBrgb(124, 57, 196)
HSLhsl(269, 55%, 50%)
HSVhsv(269, 71%, 77%)
CMYKcmyk(36.7%, 70.9%, 0%, 23.1%)
CIE-LABlab(39.91, 55.09, -61.26)
CIE-LCHlch(39.91, 82.39, 311.97°)
OKLaboklab(50.65% 0.1065 -0.1746)
OKLCHoklch(50.65% 0.205 301.4)
XYZxyz(19.7367, 11.1968, 53.3352)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39C4 #81C439
analogous
#393BC4 #7C39C4 #C239C4
triadic
#7C39C4 #C47C39 #39C47C
tetradic
#7C39C4 #C4393B #81C439 #39C4C2
square
#7C39C4 #C4393B #81C439 #39C4C2
split-complementary
#7C39C4 #C4C239 #3BC439
monochromatic
#401D65 #5E2B95 #7C39C4 #9B67D3 #BA97E1

Accessibility & contrast

On white

6.48
#7C39C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7C39C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39C4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39C4#FFFFFF#000000##FFFFFF
##7C39C41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#6C5B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c39c4;
/* rgb */ color: rgb(124, 57, 196);
/* oklch */ color: oklch(50.6% 0.205 301.4);
Tailwind
colors: {
  custom: {
    50: '#a875d7',
    500: '#7c39c4',
    950: '#000000',
  },
}
SCSS
$custom: #7c39c4;
$custom-light: #a875d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39c4",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 268.921,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.20453,
    "h": 301.4
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#7C39C4
secondary
#AECC8D
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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