#7C39C9#7C39C9

#7C39C9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.210 H 300.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7C39C9
RGBrgb(124, 57, 201)
HSLhsl(268, 57%, 51%)
HSVhsv(268, 72%, 79%)
CMYKcmyk(38.3%, 71.6%, 0%, 21.2%)
CIE-LABlab(40.29, 56.31, -63.55)
CIE-LCHlch(40.29, 84.91, 311.54°)
OKLaboklab(51.04% 0.1056 -0.1813)
OKLCHoklch(51.04% 0.21 300.2)
XYZxyz(20.3153, 11.4282, 56.3826)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39C9 #86C939
analogous
#393EC9 #7C39C9 #C439C9
triadic
#7C39C9 #C97C39 #39C97C
tetradic
#7C39C9 #C9393E #86C939 #39C9C4
square
#7C39C9 #C9393E #86C939 #39C9C4
split-complementary
#7C39C9 #C9C439 #3EC939
monochromatic
#411D6B #5E2A9B #7C39C9 #9C69D6 #BC99E3

Accessibility & contrast

On white

6.39
#7C39C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7C39C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39C9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39C9#FFFFFF#000000##FFFFFF
##7C39C91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#6A5D7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c39c9;
/* rgb */ color: rgb(124, 57, 201);
/* oklch */ color: oklch(51.0% 0.210 300.2);
Tailwind
colors: {
  custom: {
    50: '#a875da',
    500: '#7c39c9',
    950: '#000000',
  },
}
SCSS
$custom: #7c39c9;
$custom-light: #a875da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39c9",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 267.917,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.20984,
    "h": 300.2
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#7C39C9
secondary
#B1CF8F
accent
#E04799
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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