#7F50E5#7F50E5

#7F50E5 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.214 H 292.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7F50E5
RGBrgb(127, 80, 229)
HSLhsl(259, 74%, 61%)
HSVhsv(259, 65%, 90%)
CMYKcmyk(44.5%, 65.1%, 0%, 10.2%)
CIE-LABlab(46.85, 52.67, -68.91)
CIE-LCHlch(46.85, 86.73, 307.39°)
OKLaboklab(56.46% 0.0827 -0.1971)
OKLCHoklch(56.46% 0.214 292.8)
XYZxyz(25.7600, 15.9057, 75.8264)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50E5 #B6E550
analogous
#506BE5 #7F50E5 #C950E5
triadic
#7F50E5 #E57F50 #50E57F
tetradic
#7F50E5 #E5506B #B6E550 #50E5C9
square
#7F50E5 #E5506B #B6E550 #50E5C9
split-complementary
#7F50E5 #E5C950 #6BE550
monochromatic
#4418A2 #5A20D8 #7F50E5 #A685ED #CDBBF5

Accessibility & contrast

On white

5.02
#7F50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7F50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50E5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50E5#FFFFFF#000000##FFFFFF
##7F50E51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#617494
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f50e5;
/* rgb */ color: rgb(127, 80, 229);
/* oklch */ color: oklch(56.5% 0.214 292.8);
Tailwind
colors: {
  custom: {
    50: '#ac84ee',
    500: '#7f50e5',
    950: '#000000',
  },
}
SCSS
$custom: #7f50e5;
$custom-light: #ac84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50e5",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 258.926,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.21372,
    "h": 292.8
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#7F50E5
secondary
#D3E5AC
accent
#D60F97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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