#7E50D8#7E50D8

#7E50D8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.198 H 294.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E50D8
RGBrgb(126, 80, 216)
HSLhsl(260, 64%, 58%)
HSVhsv(260, 63%, 85%)
CMYKcmyk(41.7%, 63%, 0%, 15.3%)
CIE-LABlab(45.81, 49.00, -63.21)
CIE-LCHlch(45.81, 79.98, 307.78°)
OKLaboklab(55.39% 0.0826 -0.1804)
OKLCHoklch(55.39% 0.198 294.6)
XYZxyz(23.8642, 15.1302, 66.6155)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50D8 #AAD850
analogous
#5066D8 #7E50D8 #C250D8
triadic
#7E50D8 #D87E50 #50D87E
tetradic
#7E50D8 #D85066 #AAD850 #50D8C2
square
#7E50D8 #D85066 #AAD850 #50D8C2
split-complementary
#7E50D8 #D8C250 #66D850
monochromatic
#45208E #5D2BC0 #7E50D8 #A382E3 #C8B4EE

Accessibility & contrast

On white

5.22
#7E50D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7E50D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50D8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50D8#FFFFFF#000000##FFFFFF
##7E50D81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#666F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e50d8;
/* rgb */ color: rgb(126, 80, 216);
/* oklch */ color: oklch(55.4% 0.198 294.6);
Tailwind
colors: {
  custom: {
    50: '#aa83e5',
    500: '#7e50d8',
    950: '#000000',
  },
}
SCSS
$custom: #7e50d8;
$custom-light: #aa83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50d8",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 260.294,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.1984,
    "h": 294.6
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#7E50D8
secondary
#CBDDA7
accent
#E741AF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50D8

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

Preview Lab → · Contrast checker → · Palette generator →

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