#7E5BEE#7E5BEE

#7E5BEE is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.211 H 289.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E5BEE
RGBrgb(126, 91, 238)
HSLhsl(254, 81%, 65%)
HSVhsv(254, 62%, 93%)
CMYKcmyk(47.1%, 61.8%, 0%, 6.7%)
CIE-LABlab(49.60, 49.01, -69.51)
CIE-LCHlch(49.60, 85.06, 305.19°)
OKLaboklab(58.64% 0.0693 -0.1989)
OKLCHoklch(58.64% 0.211 289.2)
XYZxyz(27.7735, 18.0897, 82.9006)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BEE #CBEE5B
analogous
#5B82EE #7E5BEE #C85BEE
triadic
#7E5BEE #EE7E5B #5BEE7E
tetradic
#7E5BEE #EE5B82 #CBEE5B #5BEEC8
square
#7E5BEE #EE5B82 #CBEE5B #5BEEC8
split-complementary
#7E5BEE #EEC85B #82EE5B
monochromatic
#3B13BB #5224E8 #7E5BEE #AA92F4 #D5CAF9

Accessibility & contrast

On white

4.55
#7E5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7E5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BEE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BEE#FFFFFF#000000##000000
##7E5BEE1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#597E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5bee;
/* rgb */ color: rgb(126, 91, 238);
/* oklch */ color: oklch(58.6% 0.211 289.2);
Tailwind
colors: {
  custom: {
    50: '#ab8bf4',
    500: '#7e5bee',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bee;
$custom-light: #ab8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bee",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 254.286,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.21062,
    "h": 289.2
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#7E5BEE
secondary
#E0ECB9
accent
#DE08AB
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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