#7E5CFD#7E5CFD

#7E5CFD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.227 H 287.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E5CFD
RGBrgb(126, 92, 253)
HSLhsl(253, 98%, 68%)
HSVhsv(253, 64%, 99%)
CMYKcmyk(50.2%, 63.6%, 0%, 0.8%)
CIE-LABlab(50.90, 52.67, -75.79)
CIE-LCHlch(50.90, 92.29, 304.80°)
OKLaboklab(59.92% 0.067 -0.2173)
OKLCHoklch(59.92% 0.227 287.1)
XYZxyz(30.1557, 19.1803, 95.0227)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CFD #DBFD5C
analogous
#5C8AFD #7E5CFD #CF5CFD
triadic
#7E5CFD #FD7E5C #5CFD7E
tetradic
#7E5CFD #FD5C8A #DBFD5C #5CFDCF
square
#7E5CFD #FD5C8A #DBFD5C #5CFDCF
split-complementary
#7E5CFD #FDCF5C #8AFD5C
monochromatic
#3103DC #4E20FC #7E5CFD #AE98FE #DED5FE

Accessibility & contrast

On white

4.34
#7E5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7E5CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5CFD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5CFD#FFFFFF#000000##000000
##7E5CFD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4F83A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e5cfd;
/* rgb */ color: rgb(126, 92, 253);
/* oklch */ color: oklch(59.9% 0.227 287.1);
Tailwind
colors: {
  custom: {
    50: '#ad8cff',
    500: '#7e5cfd',
    950: '#000000',
  },
}
SCSS
$custom: #7e5cfd;
$custom-light: #ad8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5cfd",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 252.671,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.22741,
    "h": 287.1
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#7E5CFD
secondary
#E9F3C1
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E5CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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