#8F5CE0#8F5CE0

#8F5CE0 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.193 H 298.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F5CE0
RGBrgb(143, 92, 224)
HSLhsl(263, 68%, 62%)
HSVhsv(263, 59%, 88%)
CMYKcmyk(36.2%, 58.9%, 0%, 12.2%)
CIE-LABlab(50.54, 48.26, -60.03)
CIE-LCHlch(50.54, 77.03, 308.80°)
OKLaboklab(59.42% 0.091 -0.1705)
OKLCHoklch(59.42% 0.193 298.1)
XYZxyz(28.6060, 18.8754, 72.6428)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE0 #ADE05C
analogous
#5C6BE0 #8F5CE0 #D15CE0
triadic
#8F5CE0 #E08F5C #5CE08F
tetradic
#8F5CE0 #E05C6B #ADE05C #5CE0D1
square
#8F5CE0 #E05C6B #ADE05C #5CE0D1
split-complementary
#8F5CE0 #E0D15C #6BE05C
monochromatic
#521FA3 #6C29D6 #8F5CE0 #B28FEA #D6C3F4

Accessibility & contrast

On white

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

On black

4.78
#8F5CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CE0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CE0#FFFFFF#000000##000000
##8F5CE01.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0679E4
Deuteranopia (green-blind)
#2A77DD
Tritanopia (blue-blind)
#7D7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5ce0;
/* rgb */ color: rgb(143, 92, 224);
/* oklch */ color: oklch(59.4% 0.193 298.1);
Tailwind
colors: {
  custom: {
    50: '#b48cea',
    500: '#8f5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce0;
$custom-light: #b48cea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce0",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 263.182,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.19325,
    "h": 298.1
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#8F5CE0
secondary
#D1E4B4
accent
#D01688
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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