#7E50F3#7E50F3

#7E50F3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.230 H 290.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7E50F3
RGBrgb(126, 80, 243)
HSLhsl(257, 87%, 63%)
HSVhsv(257, 67%, 95%)
CMYKcmyk(48.1%, 67.1%, 0%, 4.7%)
CIE-LABlab(47.81, 56.25, -75.24)
CIE-LCHlch(47.81, 93.95, 306.78°)
OKLaboklab(57.46% 0.0794 -0.2157)
OKLCHoklch(57.46% 0.23 290.2)
XYZxyz(27.6459, 16.6429, 86.5324)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50F3 #C5F350
analogous
#5073F3 #7E50F3 #D050F3
triadic
#7E50F3 #F37E50 #50F37E
tetradic
#7E50F3 #F35073 #C5F350 #50F3D0
square
#7E50F3 #F35073 #C5F350 #50F3D0
split-complementary
#7E50F3 #F3D050 #73F350
monochromatic
#3E0DBC #5417EF #7E50F3 #A889F7 #D2C3FB

Accessibility & contrast

On white

4.85
#7E50F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7E50F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50F3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50F3#FFFFFF#000000##FFFFFF
##7E50F31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#57799B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e50f3;
/* rgb */ color: rgb(126, 80, 243);
/* oklch */ color: oklch(57.5% 0.230 290.2);
Tailwind
colors: {
  custom: {
    50: '#ac84f8',
    500: '#7e50f3',
    950: '#000000',
  },
}
SCSS
$custom: #7e50f3;
$custom-light: #ac84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50f3",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 256.933,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.22988,
    "h": 290.2
  },
  "luminance": 0.16644
}

Semantic roles & 50–950 ramp

primary
#7E50F3
secondary
#DCECB2
accent
#E402A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E50F3

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

Preview Lab → · Contrast checker → · Palette generator →

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