#7B50E4#7B50E4

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

Color values

HEX#7B50E4
RGBrgb(123, 80, 228)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.1%, 64.9%, 0%, 10.6%)
CIE-LABlab(46.38, 51.65, -69.14)
CIE-LCHlch(46.38, 86.30, 306.76°)
OKLaboklab(56.01% 0.0774 -0.1979)
OKLCHoklch(56.01% 0.212 291.4)
XYZxyz(25.0367, 15.5488, 75.0658)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50E4 #B9E450
analogous
#506FE4 #7B50E4 #C550E4
triadic
#7B50E4 #E47B50 #50E47B
tetradic
#7B50E4 #E4506F #B9E450 #50E4C5
square
#7B50E4 #E4506F #B9E450 #50E4C5
split-complementary
#7B50E4 #E4C550 #6FE450
monochromatic
#4019A1 #5621D6 #7B50E4 #A385EC #CBBAF4

Accessibility & contrast

On white

5.11
#7B50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7B50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50E4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50E4#FFFFFF#000000##FFFFFF
##7B50E41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#5B7493
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b50e4;
/* rgb */ color: rgb(123, 80, 228);
/* oklch */ color: oklch(56.0% 0.212 291.4);
Tailwind
colors: {
  custom: {
    50: '#a984ed',
    500: '#7b50e4',
    950: '#000000',
  },
}
SCSS
$custom: #7b50e4;
$custom-light: #a984ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50e4",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 257.432,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.21247,
    "h": 291.4
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#7B50E4
secondary
#D4E4AC
accent
#D5109C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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