#7F39BA#7F39BA

#7F39BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.195 H 305.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7F39BA
RGBrgb(127, 57, 186)
HSLhsl(273, 53%, 48%)
HSVhsv(273, 69%, 73%)
CMYKcmyk(31.7%, 69.4%, 0%, 27.1%)
CIE-LABlab(39.55, 53.29, -55.97)
CIE-LCHlch(39.55, 77.28, 313.60°)
OKLaboklab(50.24% 0.1122 -0.1589)
OKLCHoklch(50.24% 0.195 305.2)
XYZxyz(19.0765, 10.9836, 47.5599)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39BA #74BA39
analogous
#3F39BA #7F39BA #BA39B4
triadic
#7F39BA #BA7F39 #39BA7F
tetradic
#7F39BA #BA3F39 #74BA39 #39B4BA
square
#7F39BA #BA3F39 #74BA39 #39B4BA
split-complementary
#7F39BA #B4BA39 #39BA3F
monochromatic
#3F1C5C #5F2B8B #7F39BA #9D61CF #BA90DD

Accessibility & contrast

On white

6.57
#7F39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39BA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39BA#FFFFFF#000000##FFFFFF
##7F39BA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#045DB7
Tritanopia (blue-blind)
#745675
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f39ba;
/* rgb */ color: rgb(127, 57, 186);
/* oklch */ color: oklch(50.2% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#a975d0',
    500: '#7f39ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f39ba;
$custom-light: #a975d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39ba",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 272.558,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.19456,
    "h": 305.2
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#7F39BA
secondary
#A5C887
accent
#DC4B8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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