#7F39BE#7F39BE

#7F39BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.199 H 304.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F39BE
RGBrgb(127, 57, 190)
HSLhsl(272, 54%, 48%)
HSVhsv(272, 70%, 75%)
CMYKcmyk(33.2%, 70%, 0%, 25.5%)
CIE-LABlab(39.84, 54.24, -57.85)
CIE-LCHlch(39.84, 79.30, 313.15°)
OKLaboklab(50.54% 0.1116 -0.1645)
OKLCHoklch(50.54% 0.199 304.2)
XYZxyz(19.5077, 11.1561, 49.8308)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39BE #78BE39
analogous
#3C39BE #7F39BE #BE39BA
triadic
#7F39BE #BE7F39 #39BE7F
tetradic
#7F39BE #BE3C39 #78BE39 #39BABE
square
#7F39BE #BE3C39 #78BE39 #39BABE
split-complementary
#7F39BE #BABE39 #39BE3C
monochromatic
#401D60 #602B8F #7F39BE #9D64D0 #BB93DF

Accessibility & contrast

On white

6.50
#7F39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7F39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39BE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39BE#FFFFFF#000000##FFFFFF
##7F39BE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#735877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f39be;
/* rgb */ color: rgb(127, 57, 190);
/* oklch */ color: oklch(50.5% 0.199 304.2);
Tailwind
colors: {
  custom: {
    50: '#a975d2',
    500: '#7f39be',
    950: '#000000',
  },
}
SCSS
$custom: #7f39be;
$custom-light: #a975d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39be",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 271.579,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.19877,
    "h": 304.2
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#7F39BE
secondary
#A8CA89
accent
#DD4B90
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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