#7B50E6#7B50E6

#7B50E6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.215 H 291.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7B50E6
RGBrgb(123, 80, 230)
HSLhsl(257, 75%, 61%)
HSVhsv(257, 65%, 90%)
CMYKcmyk(46.5%, 65.2%, 0%, 9.8%)
CIE-LABlab(46.53, 52.19, -70.02)
CIE-LCHlch(46.53, 87.34, 306.70°)
OKLaboklab(56.16% 0.0772 -0.2005)
OKLCHoklch(56.16% 0.215 291)
XYZxyz(25.3159, 15.6605, 76.5365)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50E6 #BBE650
analogous
#5070E6 #7B50E6 #C650E6
triadic
#7B50E6 #E67B50 #50E67B
tetradic
#7B50E6 #E65070 #BBE650 #50E6C6
square
#7B50E6 #E65070 #BBE650 #50E6C6
split-complementary
#7B50E6 #E6C650 #70E650
monochromatic
#4017A4 #551FDA #7B50E6 #A386EE #CCBBF5

Accessibility & contrast

On white

5.08
#7B50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B50E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50E6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50E6#FFFFFF#000000##FFFFFF
##7B50E61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#597494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b50e6;
/* rgb */ color: rgb(123, 80, 230);
/* oklch */ color: oklch(56.2% 0.215 291.0);
Tailwind
colors: {
  custom: {
    50: '#a984ef',
    500: '#7b50e6',
    950: '#000000',
  },
}
SCSS
$custom: #7b50e6;
$custom-light: #a984ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50e6",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 257.2,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.21482,
    "h": 291
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#7B50E6
secondary
#D5E5AC
accent
#D70E9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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