#7C39D6#7C39D6

#7C39D6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.224 H 297.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7C39D6
RGBrgb(124, 57, 214)
HSLhsl(266, 66%, 53%)
HSVhsv(266, 73%, 84%)
CMYKcmyk(42.1%, 73.4%, 0%, 16.1%)
CIE-LABlab(41.32, 59.50, -69.38)
CIE-LCHlch(41.32, 91.40, 310.62°)
OKLaboklab(52.09% 0.1029 -0.1985)
OKLCHoklch(52.09% 0.224 297.4)
XYZxyz(21.9097, 12.0660, 64.7799)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39D6 #93D639
analogous
#3944D6 #7C39D6 #CA39D6
triadic
#7C39D6 #D67C39 #39D67C
tetradic
#7C39D6 #D63944 #93D639 #39D6CA
square
#7C39D6 #D63944 #93D639 #39D6CA
split-complementary
#7C39D6 #D6CA39 #44D639
monochromatic
#43197B #5F24AE #7C39D6 #9E6CE0 #BF9EEB

Accessibility & contrast

On white

6.15
#7C39D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7C39D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39D6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39D6#FFFFFF#000000##FFFFFF
##7C39D61.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#656285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c39d6;
/* rgb */ color: rgb(124, 57, 214);
/* oklch */ color: oklch(52.1% 0.224 297.4);
Tailwind
colors: {
  custom: {
    50: '#a976e4',
    500: '#7c39d6',
    950: '#000000',
  },
}
SCSS
$custom: #7c39d6;
$custom-light: #a976e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39d6",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 265.605,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.22355,
    "h": 297.4
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#7C39D6
secondary
#BAD794
accent
#E93FA0
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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