#7E5BEF#7E5BEF

#7E5BEF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.212 H 289.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E5BEF
RGBrgb(126, 91, 239)
HSLhsl(254, 82%, 65%)
HSVhsv(254, 62%, 94%)
CMYKcmyk(47.3%, 61.9%, 0%, 6.3%)
CIE-LABlab(49.68, 49.29, -69.96)
CIE-LCHlch(49.68, 85.58, 305.17°)
OKLaboklab(58.71% 0.0692 -0.2002)
OKLCHoklch(58.71% 0.212 289.1)
XYZxyz(27.9208, 18.1486, 83.6765)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BEF #CCEF5B
analogous
#5B82EF #7E5BEF #C85BEF
triadic
#7E5BEF #EF7E5B #5BEF7E
tetradic
#7E5BEF #EF5B82 #CCEF5B #5BEFC8
square
#7E5BEF #EF5B82 #CCEF5B #5BEFC8
split-complementary
#7E5BEF #EFC85B #82EF5B
monochromatic
#3B12BD #5223EA #7E5BEF #AA93F4 #D6CBFA

Accessibility & contrast

On white

4.54
#7E5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7E5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BEF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BEF#FFFFFF#000000##000000
##7E5BEF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#597E9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5bef;
/* rgb */ color: rgb(126, 91, 239);
/* oklch */ color: oklch(58.7% 0.212 289.1);
Tailwind
colors: {
  custom: {
    50: '#ab8bf5',
    500: '#7e5bef',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bef;
$custom-light: #ab8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bef",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 254.189,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.21183,
    "h": 289.1
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#7E5BEF
secondary
#E0ECBA
accent
#DF07AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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