#8F56BF#8F56BF

#8F56BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.163 H 307.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F56BF
RGBrgb(143, 86, 191)
HSLhsl(273, 45%, 54%)
HSVhsv(273, 55%, 75%)
CMYKcmyk(25.1%, 55%, 0%, 25.1%)
CIE-LABlab(47.31, 43.39, -46.32)
CIE-LCHlch(47.31, 63.47, 313.13°)
OKLaboklab(56.4% 0.0981 -0.1302)
OKLCHoklch(56.4% 0.163 307)
XYZxyz(24.0575, 16.2571, 51.1507)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56BF #86BF56
analogous
#5B56BF #8F56BF #BF56BB
triadic
#8F56BF #BF8F56 #56BF8F
tetradic
#8F56BF #BF5B56 #86BF56 #56BBBF
square
#8F56BF #BF5B56 #86BF56 #56BBBF
split-complementary
#8F56BF #BBBF56 #56BF5B
monochromatic
#502A70 #703B9D #8F56BF #AC82D0 #CAAFE1

Accessibility & contrast

On white

4.94
#8F56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56BF#FFFFFF#000000##FFFFFF
##8F56BF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#886982
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f56bf;
/* rgb */ color: rgb(143, 86, 191);
/* oklch */ color: oklch(56.4% 0.163 307.0);
Tailwind
colors: {
  custom: {
    50: '#b388d3',
    500: '#8f56bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f56bf;
$custom-light: #b388d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56bf",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 272.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.16308,
    "h": 307
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#8F56BF
secondary
#B6CFA2
accent
#D5538E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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