#7B50ED#7B50ED

#7B50ED is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.223 H 290.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7B50ED
RGBrgb(123, 80, 237)
HSLhsl(256, 81%, 62%)
HSVhsv(256, 66%, 93%)
CMYKcmyk(48.1%, 66.2%, 0%, 7.1%)
CIE-LABlab(47.06, 54.11, -73.11)
CIE-LCHlch(47.06, 90.95, 306.50°)
OKLaboklab(56.71% 0.0763 -0.2096)
OKLCHoklch(56.71% 0.223 290)
XYZxyz(26.3187, 16.0616, 81.8178)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50ED #C2ED50
analogous
#5074ED #7B50ED #C950ED
triadic
#7B50ED #ED7B50 #50ED7B
tetradic
#7B50ED #ED5074 #C2ED50 #50EDC9
square
#7B50ED #ED5074 #C2ED50 #50EDC9
split-complementary
#7B50ED #EDC950 #74ED50
monochromatic
#3E12B0 #5119E7 #7B50ED #A587F3 #CFBFF8

Accessibility & contrast

On white

4.99
#7B50ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7B50ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50ED
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50ED#FFFFFF#000000##FFFFFF
##7B50ED1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#557798
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b50ed;
/* rgb */ color: rgb(123, 80, 237);
/* oklch */ color: oklch(56.7% 0.223 290.0);
Tailwind
colors: {
  custom: {
    50: '#aa84f4',
    500: '#7b50ed',
    950: '#000000',
  },
}
SCSS
$custom: #7b50ed;
$custom-light: #aa84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50ed",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 237
  },
  "hsl": {
    "h": 256.433,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.223,
    "h": 290
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

primary
#7B50ED
secondary
#D9E9B0
accent
#DE08A3
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B50ED

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

Preview Lab → · Contrast checker → · Palette generator →

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