#7B50E3#7B50E3

#7B50E3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.211 H 291.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7B50E3
RGBrgb(123, 80, 227)
HSLhsl(258, 72%, 60%)
HSVhsv(258, 65%, 89%)
CMYKcmyk(45.8%, 64.8%, 0%, 11%)
CIE-LABlab(46.30, 51.38, -68.69)
CIE-LCHlch(46.30, 85.78, 306.80°)
OKLaboklab(55.93% 0.0775 -0.1966)
OKLCHoklch(55.93% 0.211 291.5)
XYZxyz(24.8983, 15.4935, 74.3368)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50E3 #B8E350
analogous
#506EE3 #7B50E3 #C450E3
triadic
#7B50E3 #E37B50 #50E37B
tetradic
#7B50E3 #E3506E #B8E350 #50E3C4
square
#7B50E3 #E3506E #B8E350 #50E3C4
split-complementary
#7B50E3 #E3C450 #6EE350
monochromatic
#41199F #5622D4 #7B50E3 #A385EB #CBBAF4

Accessibility & contrast

On white

5.12
#7B50E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7B50E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50E3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50E3#FFFFFF#000000##FFFFFF
##7B50E31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#5B7393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b50e3;
/* rgb */ color: rgb(123, 80, 227);
/* oklch */ color: oklch(55.9% 0.211 291.5);
Tailwind
colors: {
  custom: {
    50: '#a984ed',
    500: '#7b50e3',
    950: '#000000',
  },
}
SCSS
$custom: #7b50e3;
$custom-light: #a984ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50e3",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 257.551,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.21129,
    "h": 291.5
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#7B50E3
secondary
#D3E4AB
accent
#D4119B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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