#7F50D7#7F50D7

#7F50D7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.197 H 295.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7F50D7
RGBrgb(127, 80, 215)
HSLhsl(261, 63%, 58%)
HSVhsv(261, 63%, 84%)
CMYKcmyk(40.9%, 62.8%, 0%, 15.7%)
CIE-LABlab(45.85, 48.94, -62.58)
CIE-LCHlch(45.85, 79.45, 308.03°)
OKLaboklab(55.42% 0.0841 -0.1785)
OKLCHoklch(55.42% 0.197 295.2)
XYZxyz(23.8836, 15.1551, 65.9437)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50D7 #A8D750
analogous
#5064D7 #7F50D7 #C350D7
triadic
#7F50D7 #D77F50 #50D77F
tetradic
#7F50D7 #D75064 #A8D750 #50D7C3
square
#7F50D7 #D75064 #A8D750 #50D7C3
split-complementary
#7F50D7 #D7C350 #64D750
monochromatic
#46208C #5F2BBE #7F50D7 #A382E2 #C8B4EE

Accessibility & contrast

On white

5.21
#7F50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7F50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50D7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50D7#FFFFFF#000000##FFFFFF
##7F50D71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#686F8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f50d7;
/* rgb */ color: rgb(127, 80, 215);
/* oklch */ color: oklch(55.4% 0.197 295.2);
Tailwind
colors: {
  custom: {
    50: '#aa83e4',
    500: '#7f50d7',
    950: '#000000',
  },
}
SCSS
$custom: #7f50d7;
$custom-light: #aa83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50d7",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 260.889,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55421,
    "c": 0.19728,
    "h": 295.2
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#7F50D7
secondary
#CADCA6
accent
#E642AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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