#7E5BF0#7E5BF0

#7E5BF0 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.213 H 288.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E5BF0
RGBrgb(126, 91, 240)
HSLhsl(254, 83%, 65%)
HSVhsv(254, 62%, 94%)
CMYKcmyk(47.5%, 62.1%, 0%, 5.9%)
CIE-LABlab(49.75, 49.57, -70.40)
CIE-LCHlch(49.75, 86.11, 305.15°)
OKLaboklab(58.79% 0.0691 -0.2015)
OKLCHoklch(58.79% 0.213 288.9)
XYZxyz(28.0689, 18.2079, 84.4567)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BF0 #CDF05B
analogous
#5B83F0 #7E5BF0 #C95BF0
triadic
#7E5BF0 #F07E5B #5BF07E
tetradic
#7E5BF0 #F05B83 #CDF05B #5BF0C9
square
#7E5BF0 #F05B83 #CDF05B #5BF0C9
split-complementary
#7E5BF0 #F0C95B #83F05B
monochromatic
#3A11BF #5223EB #7E5BF0 #AA93F5 #D6CBFA

Accessibility & contrast

On white

4.52
#7E5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BF0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BF0#FFFFFF#000000##000000
##7E5BF01.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#587E9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5bf0;
/* rgb */ color: rgb(126, 91, 240);
/* oklch */ color: oklch(58.8% 0.213 288.9);
Tailwind
colors: {
  custom: {
    50: '#ab8bf6',
    500: '#7e5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bf0;
$custom-light: #ab8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bf0",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 254.094,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.21303,
    "h": 288.9
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#7E5BF0
secondary
#E1EDBA
accent
#E006AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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