#7A50ED#7A50ED

#7A50ED is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.223 H 289.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A50ED
RGBrgb(122, 80, 237)
HSLhsl(256, 81%, 62%)
HSVhsv(256, 66%, 93%)
CMYKcmyk(48.5%, 66.2%, 0%, 7.1%)
CIE-LABlab(46.96, 53.93, -73.27)
CIE-LCHlch(46.96, 90.98, 306.36°)
OKLaboklab(56.61% 0.0749 -0.2101)
OKLCHoklch(56.61% 0.223 289.6)
XYZxyz(26.1764, 15.9882, 81.8111)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50ED #C3ED50
analogous
#5075ED #7A50ED #C950ED
triadic
#7A50ED #ED7A50 #50ED7A
tetradic
#7A50ED #ED5075 #C3ED50 #50EDC9
square
#7A50ED #ED5075 #C3ED50 #50EDC9
split-complementary
#7A50ED #EDC950 #75ED50
monochromatic
#3C12B0 #5019E7 #7A50ED #A487F3 #CEBFF8

Accessibility & contrast

On white

5.00
#7A50ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A50ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50ED
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50ED#FFFFFF#000000##FFFFFF
##7A50ED1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#537798
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a50ed;
/* rgb */ color: rgb(122, 80, 237);
/* oklch */ color: oklch(56.6% 0.223 289.6);
Tailwind
colors: {
  custom: {
    50: '#a984f4',
    500: '#7a50ed',
    950: '#000000',
  },
}
SCSS
$custom: #7a50ed;
$custom-light: #a984f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50ed",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 237
  },
  "hsl": {
    "h": 256.051,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.22302,
    "h": 289.6
  },
  "luminance": 0.15989
}

Semantic roles & 50–950 ramp

primary
#7A50ED
secondary
#DAE9B0
accent
#DE08A4
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A50ED

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

Preview Lab → · Contrast checker → · Palette generator →

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