#7F50D5#7F50D5

#7F50D5 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.195 H 295.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7F50D5
RGBrgb(127, 80, 213)
HSLhsl(261, 61%, 57%)
HSVhsv(261, 62%, 84%)
CMYKcmyk(40.4%, 62.4%, 0%, 16.5%)
CIE-LABlab(45.71, 48.41, -61.66)
CIE-LCHlch(45.71, 78.40, 308.14°)
OKLaboklab(55.28% 0.0842 -0.1758)
OKLCHoklch(55.28% 0.195 295.6)
XYZxyz(23.6281, 15.0529, 64.5985)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50D5 #A6D550
analogous
#5064D5 #7F50D5 #C150D5
triadic
#7F50D5 #D57F50 #50D57F
tetradic
#7F50D5 #D55064 #A6D550 #50D5C1
square
#7F50D5 #D55064 #A6D550 #50D5C1
split-complementary
#7F50D5 #D5C150 #64D550
monochromatic
#46218A #5F2DBB #7F50D5 #A381E1 #C7B3ED

Accessibility & contrast

On white

5.24
#7F50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7F50D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50D5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50D5#FFFFFF#000000##FFFFFF
##7F50D51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#696E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f50d5;
/* rgb */ color: rgb(127, 80, 213);
/* oklch */ color: oklch(55.3% 0.195 295.6);
Tailwind
colors: {
  custom: {
    50: '#aa83e3',
    500: '#7f50d5',
    950: '#000000',
  },
}
SCSS
$custom: #7f50d5;
$custom-light: #aa83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50d5",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 261.203,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.19491,
    "h": 295.6
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#7F50D5
secondary
#C8DBA6
accent
#E443AC
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #7F50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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