#7C39CD#7C39CD

#7C39CD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.214 H 299.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7C39CD
RGBrgb(124, 57, 205)
HSLhsl(267, 60%, 51%)
HSVhsv(267, 72%, 80%)
CMYKcmyk(39.5%, 72.2%, 0%, 19.6%)
CIE-LABlab(40.60, 57.29, -65.36)
CIE-LCHlch(40.60, 86.91, 311.23°)
OKLaboklab(51.36% 0.1048 -0.1867)
OKLCHoklch(51.36% 0.214 299.3)
XYZxyz(20.7920, 11.6189, 58.8930)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39CD #8ACD39
analogous
#3940CD #7C39CD #C639CD
triadic
#7C39CD #CD7C39 #39CD7C
tetradic
#7C39CD #CD3940 #8ACD39 #39CDC6
square
#7C39CD #CD3940 #8ACD39 #39CDC6
split-complementary
#7C39CD #CDC639 #40CD39
monochromatic
#421C6F #5F28A0 #7C39CD #9C6AD9 #BD9BE6

Accessibility & contrast

On white

6.32
#7C39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39CD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39CD#FFFFFF#000000##FFFFFF
##7C39CD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#695E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c39cd;
/* rgb */ color: rgb(124, 57, 205);
/* oklch */ color: oklch(51.4% 0.214 299.3);
Tailwind
colors: {
  custom: {
    50: '#a975dd',
    500: '#7c39cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c39cd;
$custom-light: #a975dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39cd",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 267.162,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.21407,
    "h": 299.3
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#7C39CD
secondary
#B4D290
accent
#E3459B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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