#7E5BF1#7E5BF1

#7E5BF1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.214 H 288.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E5BF1
RGBrgb(126, 91, 241)
HSLhsl(254, 84%, 65%)
HSVhsv(254, 62%, 95%)
CMYKcmyk(47.7%, 62.2%, 0%, 5.5%)
CIE-LABlab(49.82, 49.85, -70.85)
CIE-LCHlch(49.82, 86.63, 305.13°)
OKLaboklab(58.86% 0.069 -0.2028)
OKLCHoklch(58.86% 0.214 288.8)
XYZxyz(28.2179, 18.2675, 85.2412)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BF1 #CEF15B
analogous
#5B83F1 #7E5BF1 #C95BF1
triadic
#7E5BF1 #F17E5B #5BF17E
tetradic
#7E5BF1 #F15B83 #CEF15B #5BF1C9
square
#7E5BF1 #F15B83 #CEF15B #5BF1C9
split-complementary
#7E5BF1 #F1C95B #83F15B
monochromatic
#3A10C1 #5223EC #7E5BF1 #AA93F6 #D7CCFB

Accessibility & contrast

On white

4.51
#7E5BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7E5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BF1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BF1#FFFFFF#000000##000000
##7E5BF11.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#587F9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5bf1;
/* rgb */ color: rgb(126, 91, 241);
/* oklch */ color: oklch(58.9% 0.214 288.8);
Tailwind
colors: {
  custom: {
    50: '#ac8bf7',
    500: '#7e5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bf1;
$custom-light: #ac8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bf1",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 254,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.21425,
    "h": 288.8
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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