#7C39CA#7C39CA

#7C39CA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.211 H 300.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C39CA
RGBrgb(124, 57, 202)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 72%, 79%)
CMYKcmyk(38.6%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.37, 56.55, -64.00)
CIE-LCHlch(40.37, 85.41, 311.46°)
OKLaboklab(51.12% 0.1054 -0.1827)
OKLCHoklch(51.12% 0.211 300)
XYZxyz(20.4333, 11.4754, 57.0041)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39CA #87CA39
analogous
#393ECA #7C39CA #C439CA
triadic
#7C39CA #CA7C39 #39CA7C
tetradic
#7C39CA #CA393E #87CA39 #39CAC4
square
#7C39CA #CA393E #87CA39 #39CAC4
split-complementary
#7C39CA #CAC439 #3ECA39
monochromatic
#411D6C #5F2A9C #7C39CA #9C69D7 #BC9AE4

Accessibility & contrast

On white

6.37
#7C39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7C39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39CA#FFFFFF#000000##FFFFFF
##7C39CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#6A5D7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c39ca;
/* rgb */ color: rgb(124, 57, 202);
/* oklch */ color: oklch(51.1% 0.211 300.0);
Tailwind
colors: {
  custom: {
    50: '#a875db',
    500: '#7c39ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c39ca;
$custom-light: #a875db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39ca",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 267.724,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.2109,
    "h": 300
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#7C39CA
secondary
#B2D08F
accent
#E1479A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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