#7F50DC#7F50DC

#7F50DC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.203 H 294.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7F50DC
RGBrgb(127, 80, 220)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 64%, 86%)
CMYKcmyk(42.3%, 63.6%, 0%, 13.7%)
CIE-LABlab(46.20, 50.27, -64.86)
CIE-LCHlch(46.20, 82.06, 307.77°)
OKLaboklab(55.79% 0.0836 -0.1852)
OKLCHoklch(55.79% 0.203 294.3)
XYZxyz(24.5359, 15.4160, 69.3791)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50DC #ADDC50
analogous
#5067DC #7F50DC #C550DC
triadic
#7F50DC #DC7F50 #50DC7F
tetradic
#7F50DC #DC5067 #ADDC50 #50DCC5
square
#7F50DC #DC5067 #ADDC50 #50DCC5
split-complementary
#7F50DC #DCC550 #67DC50
monochromatic
#451E94 #5D28C7 #7F50DC #A483E6 #CAB6F0

Accessibility & contrast

On white

5.14
#7F50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7F50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50DC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50DC#FFFFFF#000000##FFFFFF
##7F50DC1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#66718F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f50dc;
/* rgb */ color: rgb(127, 80, 220);
/* oklch */ color: oklch(55.8% 0.203 294.3);
Tailwind
colors: {
  custom: {
    50: '#ab84e8',
    500: '#7f50dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f50dc;
$custom-light: #ab84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50dc",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 260.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.20318,
    "h": 294.3
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#7F50DC
secondary
#CDDFA8
accent
#EA3EB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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