#7E50BE#7E50BE

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

Color values

HEX#7E50BE
RGBrgb(126, 80, 190)
HSLhsl(265, 46%, 53%)
HSVhsv(265, 58%, 75%)
CMYKcmyk(33.7%, 57.9%, 0%, 25.5%)
CIE-LABlab(44.08, 42.19, -51.02)
CIE-LCHlch(44.08, 66.21, 309.59°)
OKLaboklab(53.58% 0.0838 -0.1445)
OKLCHoklch(53.58% 0.167 300.1)
XYZxyz(20.7649, 13.8905, 50.2924)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50BE #90BE50
analogous
#5059BE #7E50BE #B550BE
triadic
#7E50BE #BE7E50 #50BE7E
tetradic
#7E50BE #BE5059 #90BE50 #50BEB5
square
#7E50BE #BE5059 #90BE50 #50BEB5
split-complementary
#7E50BE #BEB550 #59BE50
monochromatic
#44286C #613998 #7E50BE #9F7DCF #C0A9DF

Accessibility & contrast

On white

5.56
#7E50BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7E50BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50BE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50BE#FFFFFF#000000##FFFFFF
##7E50BE1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#71677F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e50be;
/* rgb */ color: rgb(126, 80, 190);
/* oklch */ color: oklch(53.6% 0.167 300.1);
Tailwind
colors: {
  custom: {
    50: '#a783d2',
    500: '#7e50be',
    950: '#000000',
  },
}
SCSS
$custom: #7e50be;
$custom-light: #a783d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50be",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 265.091,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.16705,
    "h": 300.1
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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