#7E5BE3#7E5BE3

#7E5BE3 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.197 H 290.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E5BE3
RGBrgb(126, 91, 227)
HSLhsl(255, 71%, 62%)
HSVhsv(255, 60%, 89%)
CMYKcmyk(44.5%, 59.9%, 0%, 11%)
CIE-LABlab(48.84, 45.96, -64.56)
CIE-LCHlch(48.84, 79.25, 305.44°)
OKLaboklab(57.84% 0.0699 -0.1843)
OKLCHoklch(57.84% 0.197 290.8)
XYZxyz(26.2065, 17.4629, 74.6480)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BE3 #C0E35B
analogous
#5B7CE3 #7E5BE3 #C25BE3
triadic
#7E5BE3 #E37E5B #5BE37E
tetradic
#7E5BE3 #E35B7C #C0E35B #5BE3C2
square
#7E5BE3 #E35B7C #C0E35B #5BE3C2
split-complementary
#7E5BE3 #E3C25B #7CE35B
monochromatic
#401DA7 #5527DA #7E5BE3 #A78FEC #D0C4F5

Accessibility & contrast

On white

4.67
#7E5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E5BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5BE3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BE3#FFFFFF#000000##FFFFFF
##7E5BE31.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#607A96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e5be3;
/* rgb */ color: rgb(126, 91, 227);
/* oklch */ color: oklch(57.8% 0.197 290.8);
Tailwind
colors: {
  custom: {
    50: '#aa8bed',
    500: '#7e5be3',
    950: '#000000',
  },
}
SCSS
$custom: #7e5be3;
$custom-light: #aa8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5be3",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 255.441,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.19716,
    "h": 290.8
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#7E5BE3
secondary
#D9E6B4
accent
#D313A1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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