#7E50CF#7E50CF

#7E50CF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.188 H 296.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E50CF
RGBrgb(126, 80, 207)
HSLhsl(262, 57%, 56%)
HSVhsv(262, 61%, 81%)
CMYKcmyk(39.1%, 61.4%, 0%, 18.8%)
CIE-LABlab(45.19, 46.62, -59.06)
CIE-LCHlch(45.19, 75.24, 308.28°)
OKLaboklab(54.75% 0.0833 -0.1682)
OKLCHoklch(54.75% 0.188 296.3)
XYZxyz(22.7324, 14.6775, 60.6547)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50CF #A1CF50
analogous
#5062CF #7E50CF #BE50CF
triadic
#7E50CF #CF7E50 #50CF7E
tetradic
#7E50CF #CF5062 #A1CF50 #50CFBE
square
#7E50CF #CF5062 #A1CF50 #50CFBE
split-complementary
#7E50CF #CFBE50 #62CF50
monochromatic
#452381 #5F31B1 #7E50CF #A180DC #C5B0E9

Accessibility & contrast

On white

5.34
#7E50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7E50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50CF#FFFFFF#000000##FFFFFF
##7E50CF1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0B69CC
Tritanopia (blue-blind)
#6A6C88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e50cf;
/* rgb */ color: rgb(126, 80, 207);
/* oklch */ color: oklch(54.7% 0.188 296.3);
Tailwind
colors: {
  custom: {
    50: '#a983de',
    500: '#7e50cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e50cf;
$custom-light: #a983de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50cf",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 261.732,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.18764,
    "h": 296.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#7E50CF
secondary
#C5D8A3
accent
#E048A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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