#7A50EB#7A50EB

#7A50EB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.221 H 289.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7A50EB
RGBrgb(122, 80, 235)
HSLhsl(256, 79%, 62%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(48.1%, 66%, 0%, 7.8%)
CIE-LABlab(46.81, 53.38, -72.40)
CIE-LCHlch(46.81, 89.95, 306.40°)
OKLaboklab(56.46% 0.0752 -0.2075)
OKLCHoklch(56.46% 0.221 289.9)
XYZxyz(25.8858, 15.8720, 80.2808)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50EB #C1EB50
analogous
#5074EB #7A50EB #C850EB
triadic
#7A50EB #EB7A50 #50EB7A
tetradic
#7A50EB #EB5074 #C1EB50 #50EBC8
square
#7A50EB #EB5074 #C1EB50 #50EBC8
split-complementary
#7A50EB #EBC850 #74EB50
monochromatic
#3D14AD #511AE4 #7A50EB #A487F1 #CDBEF8

Accessibility & contrast

On white

5.03
#7A50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7A50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50EB#FFFFFF#000000##FFFFFF
##7A50EB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#547697
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a50eb;
/* rgb */ color: rgb(122, 80, 235);
/* oklch */ color: oklch(56.5% 0.221 289.9);
Tailwind
colors: {
  custom: {
    50: '#a984f2',
    500: '#7a50eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a50eb;
$custom-light: #a984f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50eb",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 256.258,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.22069,
    "h": 289.9
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#7A50EB
secondary
#D9E8AF
accent
#DC0AA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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