#7E5DEE#7E5DEE

#7E5DEE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.208 H 288.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E5DEE
RGBrgb(126, 93, 238)
HSLhsl(254, 81%, 65%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(47.1%, 60.9%, 0%, 6.7%)
CIE-LABlab(50.02, 47.91, -68.84)
CIE-LCHlch(50.02, 83.87, 304.84°)
OKLaboklab(58.94% 0.0672 -0.1969)
OKLCHoklch(58.94% 0.208 288.8)
XYZxyz(27.9467, 18.4362, 82.9584)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5DEE #CDEE5D
analogous
#5D85EE #7E5DEE #C65DEE
triadic
#7E5DEE #EE7E5D #5DEE7E
tetradic
#7E5DEE #EE5D85 #CDEE5D #5DEEC6
square
#7E5DEE #EE5D85 #CDEE5D #5DEEC6
split-complementary
#7E5DEE #EEC65D #85EE5D
monochromatic
#3A14BD #5226E8 #7E5DEE #AA94F4 #D6CCFA

Accessibility & contrast

On white

4.48
#7E5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7E5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5DEE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5DEE#FFFFFF#000000##000000
##7E5DEE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#597F9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5dee;
/* rgb */ color: rgb(126, 93, 238);
/* oklch */ color: oklch(58.9% 0.208 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab8cf4',
    500: '#7e5dee',
    950: '#000000',
  },
}
SCSS
$custom: #7e5dee;
$custom-light: #ab8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5dee",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 253.655,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.20807,
    "h": 288.8
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#7E5DEE
secondary
#E1ECBB
accent
#DD08AD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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