#8F56E8#8F56E8

#8F56E8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.211 H 297.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8F56E8
RGBrgb(143, 86, 232)
HSLhsl(263, 76%, 62%)
HSVhsv(263, 63%, 91%)
CMYKcmyk(38.4%, 62.9%, 0%, 9%)
CIE-LABlab(49.88, 53.47, -65.61)
CIE-LCHlch(49.88, 84.64, 309.18°)
OKLaboklab(59.11% 0.0974 -0.1869)
OKLCHoklch(59.11% 0.211 297.5)
XYZxyz(29.2173, 18.3210, 78.3253)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56E8 #AFE856
analogous
#5666E8 #8F56E8 #D856E8
triadic
#8F56E8 #E88F56 #56E88F
tetradic
#8F56E8 #E85666 #AFE856 #56E8D8
square
#8F56E8 #E85666 #AFE856 #56E8D8
split-complementary
#8F56E8 #E8D856 #66E856
monochromatic
#5217AC #6B20E1 #8F56E8 #B38CEF #D6C2F7

Accessibility & contrast

On white

4.50
#8F56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8F56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56E8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56E8#FFFFFF#000000##000000
##8F56E81.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#7A7797
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f56e8;
/* rgb */ color: rgb(143, 86, 232);
/* oklch */ color: oklch(59.1% 0.211 297.5);
Tailwind
colors: {
  custom: {
    50: '#b689f0',
    500: '#8f56e8',
    950: '#000000',
  },
}
SCSS
$custom: #8f56e8;
$custom-light: #b689f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56e8",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 263.425,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.21072,
    "h": 297.5
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#8F56E8
secondary
#D3E8B2
accent
#D80D89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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