#8F56EF#8F56EF

#8F56EF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.219 H 296.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F56EF
RGBrgb(143, 86, 239)
HSLhsl(262, 83%, 64%)
HSVhsv(262, 64%, 94%)
CMYKcmyk(40.2%, 64%, 0%, 6.3%)
CIE-LABlab(50.37, 55.25, -68.76)
CIE-LCHlch(50.37, 88.21, 308.78°)
OKLaboklab(59.61% 0.0967 -0.1961)
OKLCHoklch(59.61% 0.219 296.2)
XYZxyz(30.2314, 18.7266, 83.6664)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56EF #B6EF56
analogous
#5669EF #8F56EF #DB56EF
triadic
#8F56EF #EF8F56 #56EF8F
tetradic
#8F56EF #EF5669 #B6EF56 #56EFDB
square
#8F56EF #EF5669 #B6EF56 #56EFDB
split-complementary
#8F56EF #EFDB56 #69EF56
monochromatic
#5012B9 #6A1EEA #8F56EF #B48EF4 #D9C6FA

Accessibility & contrast

On white

4.43
#8F56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8F56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56EF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56EF#FFFFFF#000000##000000
##8F56EF1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#77799B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f56ef;
/* rgb */ color: rgb(143, 86, 239);
/* oklch */ color: oklch(59.6% 0.219 296.2);
Tailwind
colors: {
  custom: {
    50: '#b689f5',
    500: '#8f56ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f56ef;
$custom-light: #b689f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56ef",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 262.353,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.2187,
    "h": 296.2
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#8F56EF
secondary
#D7EBB5
accent
#DF068E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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