#8F5BE3#8F5BE3

#8F5BE3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.198 H 297.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F5BE3
RGBrgb(143, 91, 227)
HSLhsl(263, 71%, 62%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(37%, 59.9%, 0%, 11%)
CIE-LABlab(50.53, 49.56, -61.74)
CIE-LCHlch(50.53, 79.18, 308.75°)
OKLaboklab(59.47% 0.0921 -0.1755)
OKLCHoklch(59.47% 0.198 297.7)
XYZxyz(28.9304, 18.8674, 74.7757)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BE3 #AFE35B
analogous
#5B6BE3 #8F5BE3 #D35BE3
triadic
#8F5BE3 #E38F5B #5BE38F
tetradic
#8F5BE3 #E35B6B #AFE35B #5BE3D3
square
#8F5BE3 #E35B6B #AFE35B #5BE3D3
split-complementary
#8F5BE3 #E3D35B #6BE35B
monochromatic
#511DA7 #6B27DA #8F5BE3 #B38FEC #D6C4F5

Accessibility & contrast

On white

4.40
#8F5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8F5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BE3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BE3#FFFFFF#000000##000000
##8F5BE31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2277E0
Tritanopia (blue-blind)
#7B7896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5be3;
/* rgb */ color: rgb(143, 91, 227);
/* oklch */ color: oklch(59.5% 0.198 297.7);
Tailwind
colors: {
  custom: {
    50: '#b58ced',
    500: '#8f5be3',
    950: '#000000',
  },
}
SCSS
$custom: #8f5be3;
$custom-light: #b58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5be3",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 262.941,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.19818,
    "h": 297.7
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

primary
#8F5BE3
secondary
#D3E6B4
accent
#D31389
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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