#8F5FE8#8F5FE8

#8F5FE8 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.199 H 296.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F5FE8
RGBrgb(143, 95, 232)
HSLhsl(261, 75%, 64%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(38.4%, 59.1%, 0%, 9%)
CIE-LABlab(51.67, 48.70, -62.73)
CIE-LCHlch(51.67, 79.41, 307.82°)
OKLaboklab(60.4% 0.0873 -0.1784)
OKLCHoklch(60.4% 0.199 296.1)
XYZxyz(29.9816, 19.8497, 78.5800)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FE8 #B8E85F
analogous
#5F74E8 #8F5FE8 #D45FE8
triadic
#8F5FE8 #E88F5F #5FE88F
tetradic
#8F5FE8 #E85F74 #B8E85F #5FE8D4
square
#8F5FE8 #E85F74 #B8E85F #5FE8D4
split-complementary
#8F5FE8 #E8D45F #74E85F
monochromatic
#4F1AB3 #6A29E0 #8F5FE8 #B495F0 #DACAF7

Accessibility & contrast

On white

4.23
#8F5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8F5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FE8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FE8#FFFFFF#000000##000000
##8F5FE81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#2179E5
Tritanopia (blue-blind)
#797D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5fe8;
/* rgb */ color: rgb(143, 95, 232);
/* oklch */ color: oklch(60.4% 0.199 296.1);
Tailwind
colors: {
  custom: {
    50: '#b58ef0',
    500: '#8f5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fe8;
$custom-light: #b58ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fe8",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 261.022,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.19862,
    "h": 296.1
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#8F5FE8
secondary
#D9E9BA
accent
#D70E91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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