#8E5BF5#8E5BF5

#8E5BF5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.219 H 294.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8E5BF5
RGBrgb(142, 91, 245)
HSLhsl(260, 89%, 66%)
HSVhsv(260, 63%, 96%)
CMYKcmyk(42%, 62.9%, 0%, 3.9%)
CIE-LABlab(51.64, 54.01, -70.06)
CIE-LCHlch(51.64, 88.46, 307.63°)
OKLaboklab(60.63% 0.0896 -0.2)
OKLCHoklch(60.63% 0.219 294.1)
XYZxyz(31.3734, 19.8247, 88.5421)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BF5 #C2F55B
analogous
#5B75F5 #8E5BF5 #DB5BF5
triadic
#8E5BF5 #F58E5B #5BF58E
tetradic
#8E5BF5 #F55B75 #C2F55B #5BF5DB
square
#8E5BF5 #F55B75 #C2F55B #5BF5DB
split-complementary
#8E5BF5 #F5DB5B #75F55B
monochromatic
#4B0CC9 #6621F1 #8E5BF5 #B695F9 #DDCEFC

Accessibility & contrast

On white

4.23
#8E5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8E5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BF5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BF5#FFFFFF#000000##000000
##8E5BF51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#727FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5bf5;
/* rgb */ color: rgb(142, 91, 245);
/* oklch */ color: oklch(60.6% 0.219 294.1);
Tailwind
colors: {
  custom: {
    50: '#b68cf9',
    500: '#8e5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bf5;
$custom-light: #b68cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bf5",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 259.87,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.21915,
    "h": 294.1
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#8E5BF5
secondary
#DEEFBC
accent
#E50099
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

#8E5BF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva