#7F39C4#7F39C4

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

Color values

HEX#7F39C4
RGBrgb(127, 57, 196)
HSLhsl(270, 55%, 50%)
HSVhsv(270, 71%, 77%)
CMYKcmyk(35.2%, 70.9%, 0%, 23.1%)
CIE-LABlab(40.29, 55.66, -60.63)
CIE-LCHlch(40.29, 82.31, 312.55°)
OKLaboklab(51% 0.1107 -0.1727)
OKLCHoklch(51% 0.205 302.7)
XYZxyz(20.1770, 11.4238, 53.3559)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39C4 #7EC439
analogous
#3A39C4 #7F39C4 #C439C4
triadic
#7F39C4 #C47F39 #39C47F
tetradic
#7F39C4 #C43A39 #7EC439 #39C4C4
square
#7F39C4 #C43A39 #7EC439 #39C4C4
split-complementary
#7F39C4 #C4C439 #39C43A
monochromatic
#421D65 #602B95 #7F39C4 #9D67D3 #BC97E1

Accessibility & contrast

On white

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

On black

3.28
#7F39C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F39C4#FFFFFF#000000##FFFFFF
##7F39C41.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#715A7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f39c4;
/* rgb */ color: rgb(127, 57, 196);
/* oklch */ color: oklch(51.0% 0.205 302.7);
Tailwind
colors: {
  custom: {
    50: '#aa75d7',
    500: '#7f39c4',
    950: '#000000',
  },
}
SCSS
$custom: #7f39c4;
$custom-light: #aa75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39c4",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 270.216,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.20508,
    "h": 302.7
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#7F39C4
secondary
#ACCC8D
accent
#DE4A93
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #7F39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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