#7F50DD#7F50DD

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

Color values

HEX#7F50DD
RGBrgb(127, 80, 221)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.5%, 63.8%, 0%, 13.3%)
CIE-LABlab(46.27, 50.53, -65.32)
CIE-LCHlch(46.27, 82.58, 307.73°)
OKLaboklab(55.86% 0.0835 -0.1865)
OKLCHoklch(55.86% 0.204 294.1)
XYZxyz(24.6687, 15.4692, 70.0787)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50DD #AEDD50
analogous
#5068DD #7F50DD #C650DD
triadic
#7F50DD #DD7F50 #50DD7F
tetradic
#7F50DD #DD5068 #AEDD50 #50DDC6
square
#7F50DD #DD5068 #AEDD50 #50DDC6
split-complementary
#7F50DD #DDC650 #68DD50
monochromatic
#451D96 #5D27C9 #7F50DD #A483E7 #CAB6F1

Accessibility & contrast

On white

5.13
#7F50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7F50DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50DD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50DD#FFFFFF#000000##FFFFFF
##7F50DD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#65718F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f50dd;
/* rgb */ color: rgb(127, 80, 221);
/* oklch */ color: oklch(55.9% 0.204 294.1);
Tailwind
colors: {
  custom: {
    50: '#ab84e8',
    500: '#7f50dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f50dd;
$custom-light: #ab84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50dd",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 260,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.20436,
    "h": 294.1
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#7F50DD
secondary
#CEE0A9
accent
#EA3DB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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