#7C39CE#7C39CE

#7C39CE is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.215 H 299.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C39CE
RGBrgb(124, 57, 206)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 72%, 81%)
CMYKcmyk(39.8%, 72.3%, 0%, 19.2%)
CIE-LABlab(40.68, 57.53, -65.81)
CIE-LCHlch(40.68, 87.41, 311.16°)
OKLaboklab(51.44% 0.1046 -0.188)
OKLCHoklch(51.44% 0.215 299.1)
XYZxyz(20.9131, 11.6673, 59.5308)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39CE #8BCE39
analogous
#3941CE #7C39CE #C739CE
triadic
#7C39CE #CE7C39 #39CE7C
tetradic
#7C39CE #CE3941 #8BCE39 #39CEC7
square
#7C39CE #CE3941 #8BCE39 #39CEC7
split-complementary
#7C39CE #CEC739 #41CE39
monochromatic
#421C71 #5F28A2 #7C39CE #9C6ADA #BD9BE6

Accessibility & contrast

On white

6.30
#7C39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7C39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39CE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39CE#FFFFFF#000000##FFFFFF
##7C39CE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#685F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c39ce;
/* rgb */ color: rgb(124, 57, 206);
/* oklch */ color: oklch(51.4% 0.215 299.1);
Tailwind
colors: {
  custom: {
    50: '#a975de',
    500: '#7c39ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c39ce;
$custom-light: #a975de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39ce",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 266.98,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.21513,
    "h": 299.1
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#7C39CE
secondary
#B5D291
accent
#E3449C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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