#7E50DA#7E50DA

#7E50DA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.201 H 294.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E50DA
RGBrgb(126, 80, 218)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 63%, 85%)
CMYKcmyk(42.2%, 63.3%, 0%, 14.5%)
CIE-LABlab(45.95, 49.53, -64.13)
CIE-LCHlch(45.95, 81.03, 307.68°)
OKLaboklab(55.54% 0.0825 -0.183)
OKLCHoklch(55.54% 0.201 294.2)
XYZxyz(24.1243, 15.2343, 67.9855)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50DA #ACDA50
analogous
#5067DA #7E50DA #C350DA
triadic
#7E50DA #DA7E50 #50DA7E
tetradic
#7E50DA #DA5067 #ACDA50 #50DAC3
square
#7E50DA #DA5067 #ACDA50 #50DAC3
split-complementary
#7E50DA #DAC350 #67DA50
monochromatic
#451F91 #5D29C3 #7E50DA #A383E5 #C8B5EF

Accessibility & contrast

On white

5.19
#7E50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7E50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50DA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50DA#FFFFFF#000000##FFFFFF
##7E50DA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#65708E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e50da;
/* rgb */ color: rgb(126, 80, 218);
/* oklch */ color: oklch(55.5% 0.201 294.2);
Tailwind
colors: {
  custom: {
    50: '#aa83e6',
    500: '#7e50da',
    950: '#000000',
  },
}
SCSS
$custom: #7e50da;
$custom-light: #aa83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50da",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 260,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.20076,
    "h": 294.2
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#7E50DA
secondary
#CCDEA8
accent
#E840B0
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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