#7C39CC#7C39CC

#7C39CC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.213 H 299.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7C39CC
RGBrgb(124, 57, 204)
HSLhsl(267, 59%, 51%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(39.2%, 72.1%, 0%, 20%)
CIE-LABlab(40.53, 57.04, -64.91)
CIE-LCHlch(40.53, 86.41, 311.31°)
OKLaboklab(51.28% 0.105 -0.1853)
OKLCHoklch(51.28% 0.213 299.5)
XYZxyz(20.6717, 11.5707, 58.2593)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39CC #89CC39
analogous
#393FCC #7C39CC #C539CC
triadic
#7C39CC #CC7C39 #39CC7C
tetradic
#7C39CC #CC393F #89CC39 #39CCC5
square
#7C39CC #CC393F #89CC39 #39CCC5
split-complementary
#7C39CC #CCC539 #3FCC39
monochromatic
#421C6E #5F299F #7C39CC #9C6AD9 #BC9AE5

Accessibility & contrast

On white

6.34
#7C39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7C39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39CC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39CC#FFFFFF#000000##FFFFFF
##7C39CC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#695E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c39cc;
/* rgb */ color: rgb(124, 57, 204);
/* oklch */ color: oklch(51.3% 0.213 299.5);
Tailwind
colors: {
  custom: {
    50: '#a875dd',
    500: '#7c39cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c39cc;
$custom-light: #a875dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39cc",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 267.347,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.21301,
    "h": 299.5
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#7C39CC
secondary
#B3D190
accent
#E2469B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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