#7E50BD#7E50BD

#7E50BD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.166 H 300.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7E50BD
RGBrgb(126, 80, 189)
HSLhsl(265, 45%, 53%)
HSVhsv(265, 58%, 74%)
CMYKcmyk(33.3%, 57.7%, 0%, 25.9%)
CIE-LABlab(44.01, 41.94, -50.54)
CIE-LCHlch(44.01, 65.67, 309.68°)
OKLaboklab(53.51% 0.0838 -0.1431)
OKLCHoklch(53.51% 0.166 300.3)
XYZxyz(20.6560, 13.8469, 49.7187)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50BD #8FBD50
analogous
#5059BD #7E50BD #B450BD
triadic
#7E50BD #BD7E50 #50BD7E
tetradic
#7E50BD #BD5059 #8FBD50 #50BDB4
square
#7E50BD #BD5059 #8FBD50 #50BDB4
split-complementary
#7E50BD #BDB450 #59BD50
monochromatic
#44286A #613997 #7E50BD #9F7CCE #C0A9DF

Accessibility & contrast

On white

5.57
#7E50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7E50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50BD#FFFFFF#000000##FFFFFF
##7E50BD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#71667F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e50bd;
/* rgb */ color: rgb(126, 80, 189);
/* oklch */ color: oklch(53.5% 0.166 300.3);
Tailwind
colors: {
  custom: {
    50: '#a783d1',
    500: '#7e50bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e50bd;
$custom-light: #a783d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50bd",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 265.321,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.16583,
    "h": 300.3
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#7E50BD
secondary
#B8CC9D
accent
#D5539E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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