#7F39C3#7F39C3

#7F39C3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.204 H 302.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7F39C3
RGBrgb(127, 57, 195)
HSLhsl(270, 55%, 49%)
HSVhsv(270, 71%, 76%)
CMYKcmyk(34.9%, 70.8%, 0%, 23.5%)
CIE-LABlab(40.21, 55.42, -60.17)
CIE-LCHlch(40.21, 81.81, 312.65°)
OKLaboklab(50.92% 0.1108 -0.1713)
OKLCHoklch(50.92% 0.204 302.9)
XYZxyz(20.0635, 11.3784, 52.7584)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39C3 #7DC339
analogous
#3A39C3 #7F39C3 #C339C2
triadic
#7F39C3 #C37F39 #39C37F
tetradic
#7F39C3 #C33A39 #7DC339 #39C2C3
square
#7F39C3 #C33A39 #7DC339 #39C2C3
split-complementary
#7F39C3 #C2C339 #39C33A
monochromatic
#411D64 #602B94 #7F39C3 #9D67D2 #BC96E0

Accessibility & contrast

On white

6.41
#7F39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F39C3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39C3#FFFFFF#000000##FFFFFF
##7F39C31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#715A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f39c3;
/* rgb */ color: rgb(127, 57, 195);
/* oklch */ color: oklch(50.9% 0.204 302.9);
Tailwind
colors: {
  custom: {
    50: '#aa75d6',
    500: '#7f39c3',
    950: '#000000',
  },
}
SCSS
$custom: #7f39c3;
$custom-light: #aa75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39c3",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 270.435,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.20403,
    "h": 302.9
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#7F39C3
secondary
#ABCC8C
accent
#DE4A93
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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