#7F39BC#7F39BC

#7F39BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.197 H 304.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7F39BC
RGBrgb(127, 57, 188)
HSLhsl(272, 53%, 48%)
HSVhsv(272, 70%, 74%)
CMYKcmyk(32.4%, 69.7%, 0%, 26.3%)
CIE-LABlab(39.70, 53.76, -56.91)
CIE-LCHlch(39.70, 78.29, 313.37°)
OKLaboklab(50.39% 0.1119 -0.1617)
OKLCHoklch(50.39% 0.197 304.7)
XYZxyz(19.2906, 11.0692, 48.6875)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39BC #76BC39
analogous
#3E39BC #7F39BC #BC39B7
triadic
#7F39BC #BC7F39 #39BC7F
tetradic
#7F39BC #BC3E39 #76BC39 #39B7BC
square
#7F39BC #BC3E39 #76BC39 #39B7BC
split-complementary
#7F39BC #B7BC39 #39BC3E
monochromatic
#401D5E #5F2B8D #7F39BC #9D63D0 #BA92DE

Accessibility & contrast

On white

6.53
#7F39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7F39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39BC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39BC#FFFFFF#000000##FFFFFF
##7F39BC1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#745776
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f39bc;
/* rgb */ color: rgb(127, 57, 188);
/* oklch */ color: oklch(50.4% 0.197 304.7);
Tailwind
colors: {
  custom: {
    50: '#a975d1',
    500: '#7f39bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f39bc;
$custom-light: #a975d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39bc",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 272.061,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.19667,
    "h": 304.7
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#7F39BC
secondary
#A6C988
accent
#DD4B8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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