#7E50D4#7E50D4

#7E50D4 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.194 H 295.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7E50D4
RGBrgb(126, 80, 212)
HSLhsl(261, 61%, 57%)
HSVhsv(261, 62%, 83%)
CMYKcmyk(40.6%, 62.3%, 0%, 16.9%)
CIE-LABlab(45.53, 47.94, -61.38)
CIE-LCHlch(45.53, 77.88, 307.99°)
OKLaboklab(55.1% 0.0829 -0.175)
OKLCHoklch(55.1% 0.194 295.4)
XYZxyz(23.3534, 14.9259, 63.9252)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50D4 #A6D450
analogous
#5064D4 #7E50D4 #C050D4
triadic
#7E50D4 #D47E50 #50D47E
tetradic
#7E50D4 #D45064 #A6D450 #50D4C0
square
#7E50D4 #D45064 #A6D450 #50D4C0
split-complementary
#7E50D4 #D4C050 #64D450
monochromatic
#452188 #5E2EB9 #7E50D4 #A281E0 #C6B2EC

Accessibility & contrast

On white

5.27
#7E50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7E50D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50D4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50D4#FFFFFF#000000##FFFFFF
##7E50D41.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#686E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e50d4;
/* rgb */ color: rgb(126, 80, 212);
/* oklch */ color: oklch(55.1% 0.194 295.4);
Tailwind
colors: {
  custom: {
    50: '#a983e2',
    500: '#7e50d4',
    950: '#000000',
  },
}
SCSS
$custom: #7e50d4;
$custom-light: #a983e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50d4",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 260.909,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55103,
    "c": 0.19363,
    "h": 295.4
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#7E50D4
secondary
#C8DBA5
accent
#E444AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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