#7E50C2#7E50C2

#7E50C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.172 H 299.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7E50C2
RGBrgb(126, 80, 194)
HSLhsl(264, 48%, 54%)
HSVhsv(264, 59%, 76%)
CMYKcmyk(35.1%, 58.8%, 0%, 23.9%)
CIE-LABlab(44.33, 43.22, -52.94)
CIE-LCHlch(44.33, 68.34, 309.23°)
OKLaboklab(53.84% 0.0837 -0.1502)
OKLCHoklch(53.84% 0.172 299.1)
XYZxyz(21.2081, 14.0678, 52.6265)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50C2 #94C250
analogous
#505BC2 #7E50C2 #B750C2
triadic
#7E50C2 #C27E50 #50C27E
tetradic
#7E50C2 #C2505B #94C250 #50C2B7
square
#7E50C2 #C2505B #94C250 #50C2B7
split-complementary
#7E50C2 #C2B750 #5BC250
monochromatic
#452770 #60379E #7E50C2 #9F7DD2 #C1ABE2

Accessibility & contrast

On white

5.51
#7E50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7E50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50C2#FFFFFF#000000##FFFFFF
##7E50C21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#6F6881
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e50c2;
/* rgb */ color: rgb(126, 80, 194);
/* oklch */ color: oklch(53.8% 0.172 299.1);
Tailwind
colors: {
  custom: {
    50: '#a783d5',
    500: '#7e50c2',
    950: '#000000',
  },
}
SCSS
$custom: #7e50c2;
$custom-light: #a783d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50c2",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 264.211,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.17193,
    "h": 299.1
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#7E50C2
secondary
#BCCF9F
accent
#D850A1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7E50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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