#7B50E9#7B50E9

#7B50E9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.218 H 290.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7B50E9
RGBrgb(123, 80, 233)
HSLhsl(257, 78%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47.2%, 65.7%, 0%, 8.6%)
CIE-LABlab(46.75, 53.01, -71.35)
CIE-LCHlch(46.75, 88.89, 306.61°)
OKLaboklab(56.39% 0.0768 -0.2044)
OKLCHoklch(56.39% 0.218 290.6)
XYZxyz(25.7409, 15.8305, 78.7743)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50E9 #BEE950
analogous
#5072E9 #7B50E9 #C850E9
triadic
#7B50E9 #E97B50 #50E97B
tetradic
#7B50E9 #E95072 #BEE950 #50E9C8
square
#7B50E9 #E95072 #BEE950 #50E9C8
split-complementary
#7B50E9 #E9C850 #72E950
monochromatic
#3F15A9 #531CE0 #7B50E9 #A486F0 #CDBDF7

Accessibility & contrast

On white

5.04
#7B50E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B50E9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50E9#FFFFFF#000000##FFFFFF
##7B50E91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#587596
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b50e9;
/* rgb */ color: rgb(123, 80, 233);
/* oklch */ color: oklch(56.4% 0.218 290.6);
Tailwind
colors: {
  custom: {
    50: '#aa84f1',
    500: '#7b50e9',
    950: '#000000',
  },
}
SCSS
$custom: #7b50e9;
$custom-light: #aa84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50e9",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 256.863,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.21834,
    "h": 290.6
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#7B50E9
secondary
#D7E7AE
accent
#DA0CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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