#7B50EB#7B50EB

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

Color values

HEX#7B50EB
RGBrgb(123, 80, 235)
HSLhsl(257, 79%, 62%)
HSVhsv(257, 66%, 92%)
CMYKcmyk(47.7%, 66%, 0%, 7.8%)
CIE-LABlab(46.90, 53.56, -72.23)
CIE-LCHlch(46.90, 89.92, 306.56°)
OKLaboklab(56.55% 0.0765 -0.207)
OKLCHoklch(56.55% 0.221 290.3)
XYZxyz(26.0282, 15.9454, 80.2875)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50EB #C0EB50
analogous
#5073EB #7B50EB #C850EB
triadic
#7B50EB #EB7B50 #50EB7B
tetradic
#7B50EB #EB5073 #C0EB50 #50EBC8
square
#7B50EB #EB5073 #C0EB50 #50EBC8
split-complementary
#7B50EB #EBC850 #73EB50
monochromatic
#3E14AD #521AE4 #7B50EB #A487F1 #CEBEF8

Accessibility & contrast

On white

5.01
#7B50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7B50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50EB#FFFFFF#000000##FFFFFF
##7B50EB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b50eb;
/* rgb */ color: rgb(123, 80, 235);
/* oklch */ color: oklch(56.5% 0.221 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa84f2',
    500: '#7b50eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b50eb;
$custom-light: #aa84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50eb",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 256.645,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56548,
    "c": 0.22067,
    "h": 290.3
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#7B50EB
secondary
#D8E8AF
accent
#DC0AA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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