#7F39BF#7F39BF

#7F39BF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.200 H 303.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F39BF
RGBrgb(127, 57, 191)
HSLhsl(271, 54%, 49%)
HSVhsv(271, 70%, 75%)
CMYKcmyk(33.5%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.92, 54.47, -58.31)
CIE-LCHlch(39.92, 79.80, 313.05°)
OKLaboklab(50.62% 0.1115 -0.1658)
OKLCHoklch(50.62% 0.2 303.9)
XYZxyz(19.6173, 11.1999, 50.4084)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39BF #79BF39
analogous
#3C39BF #7F39BF #BF39BC
triadic
#7F39BF #BF7F39 #39BF7F
tetradic
#7F39BF #BF3C39 #79BF39 #39BCBF
square
#7F39BF #BF3C39 #79BF39 #39BCBF
split-complementary
#7F39BF #BCBF39 #39BF3C
monochromatic
#401D61 #602B90 #7F39BF #9D64D1 #BB93DF

Accessibility & contrast

On white

6.48
#7F39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7F39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39BF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39BF#FFFFFF#000000##FFFFFF
##7F39BF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#735878
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f39bf;
/* rgb */ color: rgb(127, 57, 191);
/* oklch */ color: oklch(50.6% 0.200 303.9);
Tailwind
colors: {
  custom: {
    50: '#a975d3',
    500: '#7f39bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f39bf;
$custom-light: #a975d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39bf",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 271.343,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.19983,
    "h": 303.9
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#7F39BF
secondary
#A8CA8A
accent
#DD4A91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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