#7C39B0#7C39B0

#7C39B0 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.183 H 306.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7C39B0
RGBrgb(124, 57, 176)
HSLhsl(274, 51%, 46%)
HSVhsv(274, 68%, 69%)
CMYKcmyk(29.5%, 67.6%, 0%, 31%)
CIE-LABlab(38.46, 50.32, -51.85)
CIE-LCHlch(38.46, 72.25, 314.14°)
OKLaboklab(49.15% 0.1093 -0.147)
OKLCHoklch(49.15% 0.183 306.6)
XYZxyz(17.6101, 10.3461, 42.1352)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39B0 #6DB039
analogous
#4139B0 #7C39B0 #B039A8
triadic
#7C39B0 #B07C39 #39B07C
tetradic
#7C39B0 #B04139 #6DB039 #39A8B0
square
#7C39B0 #B04139 #6DB039 #39A8B0
split-complementary
#7C39B0 #A8B039 #39B041
monochromatic
#3B1B54 #5B2A82 #7C39B0 #9A5CCA #B78AD9

Accessibility & contrast

On white

6.84
#7C39B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7C39B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39B0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39B0#FFFFFF#000000##FFFFFF
##7C39B01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#735370
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c39b0;
/* rgb */ color: rgb(124, 57, 176);
/* oklch */ color: oklch(49.2% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#a674c8',
    500: '#7c39b0',
    950: '#000000',
  },
}
SCSS
$custom: #7c39b0;
$custom-light: #a674c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39b0",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 273.782,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.18317,
    "h": 306.6
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#7C39B0
secondary
#9EC481
accent
#DB4D8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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