#7E5BFA#7E5BFA

#7E5BFA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.225 H 287.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E5BFA
RGBrgb(126, 91, 250)
HSLhsl(253, 94%, 67%)
HSVhsv(253, 64%, 98%)
CMYKcmyk(49.6%, 63.6%, 0%, 2%)
CIE-LABlab(50.47, 52.37, -74.81)
CIE-LCHlch(50.47, 91.32, 304.99°)
OKLaboklab(59.54% 0.0682 -0.2145)
OKLCHoklch(59.54% 0.225 287.6)
XYZxyz(29.5955, 18.8185, 92.4969)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BFA #D7FA5B
analogous
#5B87FA #7E5BFA #CE5BFA
triadic
#7E5BFA #FA7E5B #5BFA7E
tetradic
#7E5BFA #FA5B87 #D7FA5B #5BFACE
square
#7E5BFA #FA5B87 #D7FA5B #5BFACE
split-complementary
#7E5BFA #FACE5B #87FA5B
monochromatic
#3406D4 #4F20F8 #7E5BFA #AD96FC #DBD2FE

Accessibility & contrast

On white

4.41
#7E5BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7E5BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BFA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BFA#FFFFFF#000000##000000
##7E5BFA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#5182A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e5bfa;
/* rgb */ color: rgb(126, 91, 250);
/* oklch */ color: oklch(59.5% 0.225 287.6);
Tailwind
colors: {
  custom: {
    50: '#ad8bfd',
    500: '#7e5bfa',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bfa;
$custom-light: #ad8bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bfa",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 253.208,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.22505,
    "h": 287.6
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#7E5BFA
secondary
#E7F2BF
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E5BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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