#7F50FF#7F50FF

#7F50FF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.5% C 0.243 H 288.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7F50FF
RGBrgb(127, 80, 255)
HSLhsl(256, 100%, 66%)
HSVhsv(256, 69%, 100%)
CMYKcmyk(50.2%, 68.6%, 0%, 0%)
CIE-LABlab(48.84, 59.66, -80.24)
CIE-LCHlch(48.84, 99.99, 306.63°)
OKLaboklab(58.51% 0.0788 -0.2304)
OKLCHoklch(58.51% 0.243 288.9)
XYZxyz(29.6658, 17.4680, 96.3969)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50FF #D0FF50
analogous
#5078FF #7F50FF #D650FF
triadic
#7F50FF #FF7F50 #50FF7F
tetradic
#7F50FF #FF5078 #D0FF50 #50FFD6
square
#7F50FF #FF5078 #D0FF50 #50FFD6
split-complementary
#7F50FF #FFD650 #78FF50
monochromatic
#3900D5 #5213FF #7F50FF #AC8DFF #D9CAFF

Accessibility & contrast

On white

4.67
#7F50FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7F50FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50FF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50FF#FFFFFF#000000##FFFFFF
##7F50FF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0070FC
Tritanopia (blue-blind)
#517DA2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f50ff;
/* rgb */ color: rgb(127, 80, 255);
/* oklch */ color: oklch(58.5% 0.243 288.9);
Tailwind
colors: {
  custom: {
    50: '#af85ff',
    500: '#7f50ff',
    950: '#000000',
  },
}
SCSS
$custom: #7f50ff;
$custom-light: #af85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50ff",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 256.114,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.24349,
    "h": 288.9
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#7F50FF
secondary
#E3F3B8
accent
#E600A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #7F50FF

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

Preview Lab → · Contrast checker → · Palette generator →

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