#7E5DFF#7E5DFF

#7E5DFF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.229 H 286.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E5DFF
RGBrgb(126, 93, 255)
HSLhsl(252, 100%, 68%)
HSVhsv(252, 64%, 100%)
CMYKcmyk(50.6%, 63.5%, 0%, 0%)
CIE-LABlab(51.25, 52.69, -76.33)
CIE-LCHlch(51.25, 92.75, 304.62°)
OKLaboklab(60.22% 0.0658 -0.2189)
OKLCHoklch(60.22% 0.229 286.7)
XYZxyz(30.5632, 19.4828, 96.7385)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5DFF #DEFF5D
analogous
#5D8DFF #7E5DFF #CF5DFF
triadic
#7E5DFF #FF7E5D #5DFF7E
tetradic
#7E5DFF #FF5D8D #DEFF5D #5DFFCF
square
#7E5DFF #FF5D8D #DEFF5D #5DFFCF
split-complementary
#7E5DFF #FFCF5D #8DFF5D
monochromatic
#2E00E2 #4D20FF #7E5DFF #AF9AFF #DFD7FF

Accessibility & contrast

On white

4.29
#7E5DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E5DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5DFF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5DFF#FFFFFF#000000##000000
##7E5DFF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#4D85A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e5dff;
/* rgb */ color: rgb(126, 93, 255);
/* oklch */ color: oklch(60.2% 0.229 286.7);
Tailwind
colors: {
  custom: {
    50: '#ad8dff',
    500: '#7e5dff',
    950: '#000000',
  },
}
SCSS
$custom: #7e5dff;
$custom-light: #ad8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5dff",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 252.222,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.2286,
    "h": 286.7
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#7E5DFF
secondary
#EAF4C3
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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