#7F50DA#7F50DA

#7F50DA is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.201 H 294.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7F50DA
RGBrgb(127, 80, 218)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 63%, 85%)
CMYKcmyk(41.7%, 63.3%, 0%, 14.5%)
CIE-LABlab(46.06, 49.74, -63.95)
CIE-LCHlch(46.06, 81.02, 307.87°)
OKLaboklab(55.64% 0.0838 -0.1825)
OKLCHoklch(55.64% 0.201 294.7)
XYZxyz(24.2726, 15.3107, 67.9925)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50DA #ABDA50
analogous
#5066DA #7F50DA #C450DA
triadic
#7F50DA #DA7F50 #50DA7F
tetradic
#7F50DA #DA5066 #ABDA50 #50DAC4
square
#7F50DA #DA5066 #ABDA50 #50DAC4
split-complementary
#7F50DA #DAC450 #66DA50
monochromatic
#461F91 #5E29C3 #7F50DA #A483E5 #C9B5EF

Accessibility & contrast

On white

5.17
#7F50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7F50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50DA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50DA#FFFFFF#000000##FFFFFF
##7F50DA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#67708E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f50da;
/* rgb */ color: rgb(127, 80, 218);
/* oklch */ color: oklch(55.6% 0.201 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa84e6',
    500: '#7f50da',
    950: '#000000',
  },
}
SCSS
$custom: #7f50da;
$custom-light: #aa84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50da",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 260.435,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.20082,
    "h": 294.7
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#7F50DA
secondary
#CCDEA8
accent
#E840AF
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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