#7A50EA#7A50EA

#7A50EA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.220 H 290.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7A50EA
RGBrgb(122, 80, 234)
HSLhsl(256, 79%, 62%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(47.9%, 65.8%, 0%, 8.2%)
CIE-LABlab(46.73, 53.11, -71.96)
CIE-LCHlch(46.73, 89.43, 306.43°)
OKLaboklab(56.38% 0.0753 -0.2062)
OKLCHoklch(56.38% 0.22 290.1)
XYZxyz(25.7417, 15.8144, 79.5221)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50EA #C0EA50
analogous
#5073EA #7A50EA #C750EA
triadic
#7A50EA #EA7A50 #50EA7A
tetradic
#7A50EA #EA5073 #C0EA50 #50EAC7
square
#7A50EA #EA5073 #C0EA50 #50EAC7
split-complementary
#7A50EA #EAC750 #73EA50
monochromatic
#3E15AB #511BE2 #7A50EA #A487F1 #CDBDF7

Accessibility & contrast

On white

5.04
#7A50EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A50EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50EA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50EA#FFFFFF#000000##FFFFFF
##7A50EA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#557696
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a50ea;
/* rgb */ color: rgb(122, 80, 234);
/* oklch */ color: oklch(56.4% 0.220 290.1);
Tailwind
colors: {
  custom: {
    50: '#a984f2',
    500: '#7a50ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a50ea;
$custom-light: #a984f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50ea",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 256.364,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.21952,
    "h": 290.1
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#7A50EA
secondary
#D8E8AE
accent
#DB0BA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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