#8F56DB#8F56DB

#8F56DB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.196 H 300.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F56DB
RGBrgb(143, 86, 219)
HSLhsl(266, 65%, 60%)
HSVhsv(266, 61%, 86%)
CMYKcmyk(34.7%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.02, 50.20, -59.65)
CIE-LCHlch(49.02, 77.96, 310.08°)
OKLaboklab(58.2% 0.0982 -0.1694)
OKLCHoklch(58.2% 0.196 300.1)
XYZxyz(27.4386, 17.6095, 68.9575)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56DB #A2DB56
analogous
#5660DB #8F56DB #D156DB
triadic
#8F56DB #DB8F56 #56DB8F
tetradic
#8F56DB #DB5660 #A2DB56 #56DBD1
square
#8F56DB #DB5660 #A2DB56 #56DBD1
split-complementary
#8F56DB #DBD156 #60DB56
monochromatic
#532097 #6F2BC9 #8F56DB #B088E6 #D2BBF0

Accessibility & contrast

On white

4.64
#8F56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8F56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56DB#FFFFFF#000000##FFFFFF
##8F56DB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2674D8
Tritanopia (blue-blind)
#7F7290
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f56db;
/* rgb */ color: rgb(143, 86, 219);
/* oklch */ color: oklch(58.2% 0.196 300.1);
Tailwind
colors: {
  custom: {
    50: '#b488e7',
    500: '#8f56db',
    950: '#000000',
  },
}
SCSS
$custom: #8f56db;
$custom-light: #b488e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56db",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 265.714,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.19576,
    "h": 300.1
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#8F56DB
secondary
#CAE0AD
accent
#E840A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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