#7F50DE#7F50DE

#7F50DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.206 H 293.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F50DE
RGBrgb(127, 80, 222)
HSLhsl(260, 68%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.8%, 64%, 0%, 12.9%)
CIE-LABlab(46.34, 50.80, -65.77)
CIE-LCHlch(46.34, 83.10, 307.68°)
OKLaboklab(55.94% 0.0834 -0.1878)
OKLCHoklch(55.94% 0.206 293.9)
XYZxyz(24.8023, 15.5226, 70.7825)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50DE #AFDE50
analogous
#5068DE #7F50DE #C650DE
triadic
#7F50DE #DE7F50 #50DE7F
tetradic
#7F50DE #DE5068 #AFDE50 #50DEC6
square
#7F50DE #DE5068 #AFDE50 #50DEC6
split-complementary
#7F50DE #DEC650 #68DE50
monochromatic
#451C97 #5D26CB #7F50DE #A583E8 #CAB7F1

Accessibility & contrast

On white

5.12
#7F50DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7F50DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50DE#FFFFFF#000000##FFFFFF
##7F50DE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#657190
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f50de;
/* rgb */ color: rgb(127, 80, 222);
/* oklch */ color: oklch(55.9% 0.206 293.9);
Tailwind
colors: {
  custom: {
    50: '#ab84e9',
    500: '#7f50de',
    950: '#000000',
  },
}
SCSS
$custom: #7f50de;
$custom-light: #ab84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50de",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 259.859,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.20554,
    "h": 293.9
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#7F50DE
secondary
#CEE1A9
accent
#EB3DB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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