#8F5BEF#8F5BEF

#8F5BEF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.212 H 295.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F5BEF
RGBrgb(143, 91, 239)
HSLhsl(261, 82%, 65%)
HSVhsv(261, 62%, 94%)
CMYKcmyk(40.2%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.33, 52.65, -67.20)
CIE-LCHlch(51.33, 85.37, 308.07°)
OKLaboklab(60.3% 0.0914 -0.1916)
OKLCHoklch(60.3% 0.212 295.5)
XYZxyz(30.6447, 19.5532, 83.8042)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BEF #BBEF5B
analogous
#5B71EF #8F5BEF #D95BEF
triadic
#8F5BEF #EF8F5B #5BEF8F
tetradic
#8F5BEF #EF5B71 #BBEF5B #5BEFD9
square
#8F5BEF #EF5B71 #BBEF5B #5BEFD9
split-complementary
#8F5BEF #EFD95B #71EF5B
monochromatic
#4E12BD #6923EA #8F5BEF #B593F4 #DBCBFA

Accessibility & contrast

On white

4.28
#8F5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8F5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BEF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BEF#FFFFFF#000000##000000
##8F5BEF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#767C9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5bef;
/* rgb */ color: rgb(143, 91, 239);
/* oklch */ color: oklch(60.3% 0.212 295.5);
Tailwind
colors: {
  custom: {
    50: '#b68cf5',
    500: '#8f5bef',
    950: '#000000',
  },
}
SCSS
$custom: #8f5bef;
$custom-light: #b68cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5bef",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 261.081,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60303,
    "c": 0.21225,
    "h": 295.5
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#8F5BEF
secondary
#DAECBA
accent
#DF0793
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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