#8F5CE8#8F5CE8

#8F5CE8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.203 H 296.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F5CE8
RGBrgb(143, 92, 232)
HSLhsl(262, 75%, 64%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(38.4%, 60.3%, 0%, 9%)
CIE-LABlab(51.06, 50.31, -63.71)
CIE-LCHlch(51.06, 81.18, 308.30°)
OKLaboklab(59.96% 0.0907 -0.1813)
OKLCHoklch(59.96% 0.203 296.6)
XYZxyz(29.7166, 19.3196, 78.4917)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE8 #B5E85C
analogous
#5C6FE8 #8F5CE8 #D55CE8
triadic
#8F5CE8 #E88F5C #5CE88F
tetradic
#8F5CE8 #E85C6F #B5E85C #5CE8D5
square
#8F5CE8 #E85C6F #B5E85C #5CE8D5
split-complementary
#8F5CE8 #E8D55C #6FE85C
monochromatic
#5019B1 #6A26E0 #8F5CE8 #B492F0 #D9C7F7

Accessibility & contrast

On white

4.32
#8F5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8F5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CE8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CE8#FFFFFF#000000##000000
##8F5CE81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#1878E5
Tritanopia (blue-blind)
#797B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5ce8;
/* rgb */ color: rgb(143, 92, 232);
/* oklch */ color: oklch(60.0% 0.203 296.6);
Tailwind
colors: {
  custom: {
    50: '#b58cf0',
    500: '#8f5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce8;
$custom-light: #b58cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce8",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 261.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.20272,
    "h": 296.6
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#8F5CE8
secondary
#D7E9B7
accent
#D70E8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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