#8F5CE4#8F5CE4

#8F5CE4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.198 H 297.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F5CE4
RGBrgb(143, 92, 228)
HSLhsl(263, 72%, 63%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(37.3%, 59.6%, 0%, 10.6%)
CIE-LABlab(50.80, 49.28, -61.88)
CIE-LCHlch(50.80, 79.11, 308.54°)
OKLaboklab(59.69% 0.0909 -0.1759)
OKLCHoklch(59.69% 0.198 297.3)
XYZxyz(29.1549, 19.0949, 75.5334)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE4 #B1E45C
analogous
#5C6DE4 #8F5CE4 #D35CE4
triadic
#8F5CE4 #E48F5C #5CE48F
tetradic
#8F5CE4 #E45C6D #B1E45C #5CE4D3
square
#8F5CE4 #E45C6D #B1E45C #5CE4D3
split-complementary
#8F5CE4 #E4D35C #6DE45C
monochromatic
#511CAA #6B27DB #8F5CE4 #B391ED #D7C5F5

Accessibility & contrast

On white

4.36
#8F5CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F5CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CE4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CE4#FFFFFF#000000##000000
##8F5CE41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2277E1
Tritanopia (blue-blind)
#7B7997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5ce4;
/* rgb */ color: rgb(143, 92, 228);
/* oklch */ color: oklch(59.7% 0.198 297.3);
Tailwind
colors: {
  custom: {
    50: '#b58ced',
    500: '#8f5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce4;
$custom-light: #b58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce4",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 262.5,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.19799,
    "h": 297.3
  },
  "luminance": 0.19095
}

Semantic roles & 50–950 ramp

primary
#8F5CE4
secondary
#D4E7B5
accent
#D4128B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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