#7C39BF#7C39BF

#7C39BF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.199 H 302.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7C39BF
RGBrgb(124, 57, 191)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(35.1%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.53, 53.88, -58.95)
CIE-LCHlch(39.53, 79.87, 312.43°)
OKLaboklab(50.26% 0.1073 -0.1678)
OKLCHoklch(50.26% 0.199 302.6)
XYZxyz(19.1771, 10.9729, 50.3878)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C39BF #7CBF39
analogous
#3939BF #7C39BF #BF39BF
triadic
#7C39BF #BF7C39 #39BF7C
tetradic
#7C39BF #BF3939 #7CBF39 #39BFBF
square
#7C39BF #BF3939 #7CBF39 #39BFBF
split-complementary
#7C39BF #BFBF39 #39BF39
monochromatic
#3F1D61 #5D2B90 #7C39BF #9B64D1 #B993DF

Accessibility & contrast

On white

6.57
#7C39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C39BF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C39BF#FFFFFF#000000##FFFFFF
##7C39BF1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#6E5978
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c39bf;
/* rgb */ color: rgb(124, 57, 191);
/* oklch */ color: oklch(50.3% 0.199 302.6);
Tailwind
colors: {
  custom: {
    50: '#a775d3',
    500: '#7c39bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c39bf;
$custom-light: #a775d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c39bf",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.19921,
    "h": 302.6
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#7C39BF
secondary
#AACA8A
accent
#DD4A94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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