#7F39BB#7F39BB

#7F39BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.196 H 304.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7F39BB
RGBrgb(127, 57, 187)
HSLhsl(272, 53%, 48%)
HSVhsv(272, 70%, 73%)
CMYKcmyk(32.1%, 69.5%, 0%, 26.7%)
CIE-LABlab(39.62, 53.53, -56.44)
CIE-LCHlch(39.62, 77.79, 313.48°)
OKLaboklab(50.32% 0.1121 -0.1603)
OKLCHoklch(50.32% 0.196 304.9)
XYZxyz(19.1832, 11.0262, 48.1217)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39BB #75BB39
analogous
#3E39BB #7F39BB #BB39B6
triadic
#7F39BB #BB7F39 #39BB7F
tetradic
#7F39BB #BB3E39 #75BB39 #39B6BB
square
#7F39BB #BB3E39 #75BB39 #39B6BB
split-complementary
#7F39BB #B6BB39 #39BB3E
monochromatic
#3F1C5D #5F2B8C #7F39BB #9D62CF #BA91DD

Accessibility & contrast

On white

6.55
#7F39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F39BB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39BB#FFFFFF#000000##FFFFFF
##7F39BB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f39bb;
/* rgb */ color: rgb(127, 57, 187);
/* oklch */ color: oklch(50.3% 0.196 304.9);
Tailwind
colors: {
  custom: {
    50: '#a975d0',
    500: '#7f39bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f39bb;
$custom-light: #a975d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39bb",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 272.308,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50318,
    "c": 0.19562,
    "h": 304.9
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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