#7E5FF0#7E5FF0

#7E5FF0 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.208 H 288.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E5FF0
RGBrgb(126, 95, 240)
HSLhsl(253, 83%, 66%)
HSVhsv(253, 60%, 94%)
CMYKcmyk(47.5%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.58, 47.36, -69.05)
CIE-LCHlch(50.58, 83.73, 304.44°)
OKLaboklab(59.4% 0.065 -0.1975)
OKLCHoklch(59.4% 0.208 288.2)
XYZxyz(28.4200, 18.9101, 84.5737)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5FF0 #D1F05F
analogous
#5F88F0 #7E5FF0 #C75FF0
triadic
#7E5FF0 #F07E5F #5FF07E
tetradic
#7E5FF0 #F05F88 #D1F05F #5FF0C7
square
#7E5FF0 #F05F88 #D1F05F #5FF0C7
split-complementary
#7E5FF0 #F0C75F #88F05F
monochromatic
#3812C2 #5127EB #7E5FF0 #AB97F5 #D8CFFA

Accessibility & contrast

On white

4.39
#7E5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7E5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5FF0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5FF0#FFFFFF#000000##000000
##7E5FF01.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#58819F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e5ff0;
/* rgb */ color: rgb(126, 95, 240);
/* oklch */ color: oklch(59.4% 0.208 288.2);
Tailwind
colors: {
  custom: {
    50: '#ab8ef6',
    500: '#7e5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ff0;
$custom-light: #ab8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ff0",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 252.828,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.20796,
    "h": 288.2
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#7E5FF0
secondary
#E3EEBD
accent
#DF06B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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