#7F50BF#7F50BF

#7F50BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.168 H 300.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7F50BF
RGBrgb(127, 80, 191)
HSLhsl(265, 46%, 53%)
HSVhsv(265, 58%, 75%)
CMYKcmyk(33.5%, 58.1%, 0%, 25.1%)
CIE-LABlab(44.25, 42.69, -51.32)
CIE-LCHlch(44.25, 66.75, 309.75°)
OKLaboklab(53.75% 0.0851 -0.1454)
OKLCHoklch(53.75% 0.168 300.3)
XYZxyz(21.0228, 14.0108, 50.8769)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50BF #90BF50
analogous
#5058BF #7F50BF #B650BF
triadic
#7F50BF #BF7F50 #50BF7F
tetradic
#7F50BF #BF5058 #90BF50 #50BFB6
square
#7F50BF #BF5058 #90BF50 #50BFB6
split-complementary
#7F50BF #BFB650 #58BF50
monochromatic
#45286D #61389A #7F50BF #A07DCF #C1AAE0

Accessibility & contrast

On white

5.52
#7F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7F50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50BF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50BF#FFFFFF#000000##FFFFFF
##7F50BF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#726780
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f50bf;
/* rgb */ color: rgb(127, 80, 191);
/* oklch */ color: oklch(53.7% 0.168 300.3);
Tailwind
colors: {
  custom: {
    50: '#a883d3',
    500: '#7f50bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f50bf;
$custom-light: #a883d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50bf",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 265.405,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.16845,
    "h": 300.3
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#7F50BF
secondary
#B9CD9D
accent
#D6529E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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