#7C39C3#7C39C3

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

Color values

HEX#7C39C3
RGBrgb(124, 57, 195)
HSLhsl(269, 55%, 49%)
HSVhsv(269, 71%, 76%)
CMYKcmyk(36.4%, 70.8%, 0%, 23.5%)
CIE-LABlab(39.83, 54.85, -60.80)
CIE-LCHlch(39.83, 81.89, 312.06°)
OKLaboklab(50.57% 0.1067 -0.1733)
OKLCHoklch(50.57% 0.203 301.6)
XYZxyz(19.6233, 11.1514, 52.7378)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39C3 #80C339
analogous
#393BC3 #7C39C3 #C139C3
triadic
#7C39C3 #C37C39 #39C37C
tetradic
#7C39C3 #C3393B #80C339 #39C3C1
square
#7C39C3 #C3393B #80C339 #39C3C1
split-complementary
#7C39C3 #C3C139 #3BC339
monochromatic
#401D64 #5E2B94 #7C39C3 #9B67D2 #BA96E0

Accessibility & contrast

On white

6.50
#7C39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39C3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39C3#FFFFFF#000000##FFFFFF
##7C39C31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#6D5A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c39c3;
/* rgb */ color: rgb(124, 57, 195);
/* oklch */ color: oklch(50.6% 0.203 301.6);
Tailwind
colors: {
  custom: {
    50: '#a875d6',
    500: '#7c39c3',
    950: '#000000',
  },
}
SCSS
$custom: #7c39c3;
$custom-light: #a875d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39c3",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 269.13,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.20346,
    "h": 301.6
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#7C39C3
secondary
#ADCC8C
accent
#DE4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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