#7A50EF#7A50EF

#7A50EF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.225 H 289.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A50EF
RGBrgb(122, 80, 239)
HSLhsl(256, 83%, 63%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49%, 66.5%, 0%, 6.3%)
CIE-LABlab(47.11, 54.48, -74.15)
CIE-LCHlch(47.11, 92.01, 306.31°)
OKLaboklab(56.77% 0.0746 -0.2126)
OKLCHoklch(56.77% 0.225 289.3)
XYZxyz(26.4702, 16.1058, 83.3586)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50EF #C5EF50
analogous
#5076EF #7A50EF #C950EF
triadic
#7A50EF #EF7A50 #50EF7A
tetradic
#7A50EF #EF5076 #C5EF50 #50EFC9
square
#7A50EF #EF5076 #C5EF50 #50EFC9
split-complementary
#7A50EF #EFC950 #76EF50
monochromatic
#3C10B4 #4F18EA #7A50EF #A588F4 #CFC0F9

Accessibility & contrast

On white

4.97
#7A50EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7A50EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50EF#FFFFFF#000000##FFFFFF
##7A50EF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#527899
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a50ef;
/* rgb */ color: rgb(122, 80, 239);
/* oklch */ color: oklch(56.8% 0.225 289.3);
Tailwind
colors: {
  custom: {
    50: '#aa84f5',
    500: '#7a50ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a50ef;
$custom-light: #aa84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50ef",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 255.849,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.22534,
    "h": 289.3
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#7A50EF
secondary
#DBEAB0
accent
#E006A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A50EF

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

Preview Lab → · Contrast checker → · Palette generator →

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