#7E50D2#7E50D2

#7E50D2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.191 H 295.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7E50D2
RGBrgb(126, 80, 210)
HSLhsl(261, 59%, 57%)
HSVhsv(261, 62%, 82%)
CMYKcmyk(40%, 61.9%, 0%, 17.6%)
CIE-LABlab(45.39, 47.41, -60.46)
CIE-LCHlch(45.39, 76.83, 308.10°)
OKLaboklab(54.96% 0.0831 -0.1722)
OKLCHoklch(54.96% 0.191 295.7)
XYZxyz(23.1027, 14.8256, 62.6047)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50D2 #A4D250
analogous
#5063D2 #7E50D2 #BF50D2
triadic
#7E50D2 #D27E50 #50D27E
tetradic
#7E50D2 #D25063 #A4D250 #50D2BF
square
#7E50D2 #D25063 #A4D250 #50D2BF
split-complementary
#7E50D2 #D2BF50 #63D250
monochromatic
#452285 #5F2FB6 #7E50D2 #A281DF #C6B1EB

Accessibility & contrast

On white

5.30
#7E50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7E50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50D2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50D2#FFFFFF#000000##FFFFFF
##7E50D21.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#696D8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e50d2;
/* rgb */ color: rgb(126, 80, 210);
/* oklch */ color: oklch(55.0% 0.191 295.7);
Tailwind
colors: {
  custom: {
    50: '#a983e1',
    500: '#7e50d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e50d2;
$custom-light: #a983e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50d2",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 261.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.19124,
    "h": 295.7
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#7E50D2
secondary
#C7D9A4
accent
#E246AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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