#7C39BE#7C39BE

#7C39BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.198 H 302.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7C39BE
RGBrgb(124, 57, 190)
HSLhsl(270, 54%, 48%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(34.7%, 70%, 0%, 25.5%)
CIE-LABlab(39.46, 53.64, -58.48)
CIE-LCHlch(39.46, 79.36, 312.53°)
OKLaboklab(50.19% 0.1075 -0.1664)
OKLCHoklch(50.19% 0.198 302.9)
XYZxyz(19.0674, 10.9290, 49.8102)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39BE #7BBE39
analogous
#3A39BE #7C39BE #BE39BD
triadic
#7C39BE #BE7C39 #39BE7C
tetradic
#7C39BE #BE3A39 #7BBE39 #39BDBE
square
#7C39BE #BE3A39 #7BBE39 #39BDBE
split-complementary
#7C39BE #BDBE39 #39BE3A
monochromatic
#3F1D60 #5D2B8F #7C39BE #9B64D0 #B993DF

Accessibility & contrast

On white

6.59
#7C39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7C39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39BE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39BE#FFFFFF#000000##FFFFFF
##7C39BE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6F5877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c39be;
/* rgb */ color: rgb(124, 57, 190);
/* oklch */ color: oklch(50.2% 0.198 302.9);
Tailwind
colors: {
  custom: {
    50: '#a775d2',
    500: '#7c39be',
    950: '#000000',
  },
}
SCSS
$custom: #7c39be;
$custom-light: #a775d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39be",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 270.226,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.19814,
    "h": 302.9
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#7C39BE
secondary
#A9CA89
accent
#DD4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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