#7E50BB#7E50BB

#7E50BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.163 H 300.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7E50BB
RGBrgb(126, 80, 187)
HSLhsl(266, 44%, 52%)
HSVhsv(266, 57%, 73%)
CMYKcmyk(32.6%, 57.2%, 0%, 26.7%)
CIE-LABlab(43.89, 41.43, -49.57)
CIE-LCHlch(43.89, 64.60, 309.88°)
OKLaboklab(53.38% 0.0838 -0.1403)
OKLCHoklch(53.38% 0.163 300.8)
XYZxyz(20.4404, 13.7607, 48.5833)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50BB #8DBB50
analogous
#5058BB #7E50BB #B350BB
triadic
#7E50BB #BB7E50 #50BB7E
tetradic
#7E50BB #BB5058 #8DBB50 #50BBB3
square
#7E50BB #BB5058 #8DBB50 #50BBB3
split-complementary
#7E50BB #BBB350 #58BB50
monochromatic
#442868 #613A94 #7E50BB #9E7CCC #BFA8DD

Accessibility & contrast

On white

5.60
#7E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7E50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50BB#FFFFFF#000000##FFFFFF
##7E50BB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#72667E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e50bb;
/* rgb */ color: rgb(126, 80, 187);
/* oklch */ color: oklch(53.4% 0.163 300.8);
Tailwind
colors: {
  custom: {
    50: '#a783d0',
    500: '#7e50bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e50bb;
$custom-light: #a783d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50bb",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 265.794,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.16338,
    "h": 300.8
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#7E50BB
secondary
#B7CB9C
accent
#D4549D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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