#7A50E7#7A50E7

#7A50E7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.216 H 290.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A50E7
RGBrgb(122, 80, 231)
HSLhsl(257, 76%, 61%)
HSVhsv(257, 65%, 91%)
CMYKcmyk(47.2%, 65.4%, 0%, 9.4%)
CIE-LABlab(46.50, 52.29, -70.63)
CIE-LCHlch(46.50, 87.88, 306.51°)
OKLaboklab(56.14% 0.0757 -0.2023)
OKLCHoklch(56.14% 0.216 290.5)
XYZxyz(25.3144, 15.6435, 77.2715)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50E7 #BDE750
analogous
#5071E7 #7A50E7 #C550E7
triadic
#7A50E7 #E77A50 #50E77A
tetradic
#7A50E7 #E75071 #BDE750 #50E7C5
square
#7A50E7 #E75071 #BDE750 #50E7C5
split-complementary
#7A50E7 #E7C550 #71E750
monochromatic
#3F17A6 #531EDC #7A50E7 #A386EE #CCBCF6

Accessibility & contrast

On white

5.09
#7A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7A50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50E7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50E7#FFFFFF#000000##FFFFFF
##7A50E71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#577595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a50e7;
/* rgb */ color: rgb(122, 80, 231);
/* oklch */ color: oklch(56.1% 0.216 290.5);
Tailwind
colors: {
  custom: {
    50: '#a984f0',
    500: '#7a50e7',
    950: '#000000',
  },
}
SCSS
$custom: #7a50e7;
$custom-light: #a984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50e7",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 256.689,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.216,
    "h": 290.5
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#7A50E7
secondary
#D6E6AD
accent
#D80DA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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