#7E50C8#7E50C8

#7E50C8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.179 H 297.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E50C8
RGBrgb(126, 80, 200)
HSLhsl(263, 52%, 55%)
HSVhsv(263, 60%, 78%)
CMYKcmyk(37%, 60%, 0%, 21.6%)
CIE-LABlab(44.72, 44.78, -55.79)
CIE-LCHlch(44.72, 71.54, 308.76°)
OKLaboklab(54.25% 0.0836 -0.1585)
OKLCHoklch(54.25% 0.179 297.8)
XYZxyz(21.8955, 14.3428, 56.2472)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50C8 #9AC850
analogous
#505EC8 #7E50C8 #BA50C8
triadic
#7E50C8 #C87E50 #50C87E
tetradic
#7E50C8 #C8505E #9AC850 #50C8BA
square
#7E50C8 #C8505E #9AC850 #50C8BA
split-complementary
#7E50C8 #C8BA50 #5EC850
monochromatic
#452678 #6034A6 #7E50C8 #A07FD7 #C3ADE5

Accessibility & contrast

On white

5.43
#7E50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7E50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50C8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50C8#FFFFFF#000000##FFFFFF
##7E50C81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#1F68C5
Tritanopia (blue-blind)
#6D6A84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e50c8;
/* rgb */ color: rgb(126, 80, 200);
/* oklch */ color: oklch(54.3% 0.179 297.8);
Tailwind
colors: {
  custom: {
    50: '#a883d9',
    500: '#7e50c8',
    950: '#000000',
  },
}
SCSS
$custom: #7e50c8;
$custom-light: #a883d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50c8",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 263,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.17922,
    "h": 297.8
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#7E50C8
secondary
#C0D3A1
accent
#DC4CA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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