#7E50CA#7E50CA

#7E50CA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.182 H 297.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E50CA
RGBrgb(126, 80, 202)
HSLhsl(263, 54%, 55%)
HSVhsv(263, 60%, 79%)
CMYKcmyk(37.6%, 60.4%, 0%, 20.8%)
CIE-LABlab(44.85, 45.30, -56.73)
CIE-LCHlch(44.85, 72.60, 308.61°)
OKLaboklab(54.39% 0.0835 -0.1613)
OKLCHoklch(54.39% 0.182 297.4)
XYZxyz(22.1308, 14.4369, 57.4863)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50CA #9CCA50
analogous
#505FCA #7E50CA #BB50CA
triadic
#7E50CA #CA7E50 #50CA7E
tetradic
#7E50CA #CA505F #9CCA50 #50CABB
square
#7E50CA #CA505F #9CCA50 #50CABB
split-complementary
#7E50CA #CABB50 #5FCA50
monochromatic
#45257A #6033A9 #7E50CA #A17FD8 #C3AEE6

Accessibility & contrast

On white

5.40
#7E50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7E50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50CA#FFFFFF#000000##FFFFFF
##7E50CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1B69C7
Tritanopia (blue-blind)
#6C6A85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e50ca;
/* rgb */ color: rgb(126, 80, 202);
/* oklch */ color: oklch(54.4% 0.182 297.4);
Tailwind
colors: {
  custom: {
    50: '#a883db',
    500: '#7e50ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e50ca;
$custom-light: #a883db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50ca",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 262.623,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.18163,
    "h": 297.4
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#7E50CA
secondary
#C1D4A1
accent
#DD4BA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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