#7E50BF#7E50BF

#7E50BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.168 H 299.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E50BF
RGBrgb(126, 80, 191)
HSLhsl(265, 46%, 53%)
HSVhsv(265, 58%, 75%)
CMYKcmyk(34%, 58.1%, 0%, 25.1%)
CIE-LABlab(44.14, 42.45, -51.50)
CIE-LCHlch(44.14, 66.74, 309.50°)
OKLaboklab(53.64% 0.0838 -0.1459)
OKLCHoklch(53.64% 0.168 299.9)
XYZxyz(20.8745, 13.9344, 50.8700)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50BF #91BF50
analogous
#5059BF #7E50BF #B650BF
triadic
#7E50BF #BF7E50 #50BF7E
tetradic
#7E50BF #BF5059 #91BF50 #50BFB6
square
#7E50BF #BF5059 #91BF50 #50BFB6
split-complementary
#7E50BF #BFB650 #59BF50
monochromatic
#44286D #61389A #7E50BF #9F7DCF #C0AAE0

Accessibility & contrast

On white

5.55
#7E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7E50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50BF#FFFFFF#000000##FFFFFF
##7E50BF1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#706780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e50bf;
/* rgb */ color: rgb(126, 80, 191);
/* oklch */ color: oklch(53.6% 0.168 299.9);
Tailwind
colors: {
  custom: {
    50: '#a783d3',
    500: '#7e50bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e50bf;
$custom-light: #a783d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50bf",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 264.865,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.16827,
    "h": 299.9
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#7E50BF
secondary
#B9CD9D
accent
#D6529F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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