#7A50E4#7A50E4

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

Color values

HEX#7A50E4
RGBrgb(122, 80, 228)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.5%, 64.9%, 0%, 10.6%)
CIE-LABlab(46.28, 51.47, -69.30)
CIE-LCHlch(46.28, 86.32, 306.60°)
OKLaboklab(55.91% 0.0761 -0.1984)
OKLCHoklch(55.91% 0.212 291)
XYZxyz(24.8943, 15.4754, 75.0591)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50E4 #BAE450
analogous
#5070E4 #7A50E4 #C450E4
triadic
#7A50E4 #E47A50 #50E47A
tetradic
#7A50E4 #E45070 #BAE450 #50E4C4
square
#7A50E4 #E45070 #BAE450 #50E4C4
split-complementary
#7A50E4 #E4C450 #70E450
monochromatic
#3F19A1 #5421D6 #7A50E4 #A285EC #CBBAF4

Accessibility & contrast

On white

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

On black

4.10
#7A50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A50E4#FFFFFF#000000##FFFFFF
##7A50E41.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#597493
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a50e4;
/* rgb */ color: rgb(122, 80, 228);
/* oklch */ color: oklch(55.9% 0.212 291.0);
Tailwind
colors: {
  custom: {
    50: '#a883ed',
    500: '#7a50e4',
    950: '#000000',
  },
}
SCSS
$custom: #7a50e4;
$custom-light: #a883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50e4",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 257.027,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.21247,
    "h": 291
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#7A50E4
secondary
#D4E4AC
accent
#D5109D
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7A50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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