#7C39BA#7C39BA

#7C39BA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.194 H 303.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7C39BA
RGBrgb(124, 57, 186)
HSLhsl(271, 53%, 48%)
HSVhsv(271, 69%, 73%)
CMYKcmyk(33.3%, 69.4%, 0%, 27.1%)
CIE-LABlab(39.17, 52.68, -56.61)
CIE-LCHlch(39.17, 77.33, 312.94°)
OKLaboklab(49.89% 0.1081 -0.1609)
OKLCHoklch(49.89% 0.194 303.9)
XYZxyz(18.6362, 10.7566, 47.5393)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39BA #77BA39
analogous
#3C39BA #7C39BA #BA39B7
triadic
#7C39BA #BA7C39 #39BA7C
tetradic
#7C39BA #BA3C39 #77BA39 #39B7BA
square
#7C39BA #BA3C39 #77BA39 #39B7BA
split-complementary
#7C39BA #B7BA39 #39BA3C
monochromatic
#3E1C5C #5D2B8B #7C39BA #9A61CF #B890DD

Accessibility & contrast

On white

6.66
#7C39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7C39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C39BA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39BA#FFFFFF#000000##FFFFFF
##7C39BA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#705775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c39ba;
/* rgb */ color: rgb(124, 57, 186);
/* oklch */ color: oklch(49.9% 0.194 303.9);
Tailwind
colors: {
  custom: {
    50: '#a775d0',
    500: '#7c39ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c39ba;
$custom-light: #a775d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39ba",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 271.163,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.19387,
    "h": 303.9
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#7C39BA
secondary
#A6C887
accent
#DC4B91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7C39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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