#8F56DD#8F56DD

#8F56DD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.198 H 299.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F56DD
RGBrgb(143, 86, 221)
HSLhsl(265, 67%, 60%)
HSVhsv(265, 61%, 87%)
CMYKcmyk(35.3%, 61.1%, 0%, 13.3%)
CIE-LABlab(49.15, 50.70, -60.58)
CIE-LCHlch(49.15, 78.99, 309.93°)
OKLaboklab(58.34% 0.0981 -0.1721)
OKLCHoklch(58.34% 0.198 299.7)
XYZxyz(27.7034, 17.7154, 70.3525)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56DD #A4DD56
analogous
#5661DD #8F56DD #D256DD
triadic
#8F56DD #DD8F56 #56DD8F
tetradic
#8F56DD #DD5661 #A4DD56 #56DDD2
square
#8F56DD #DD5661 #A4DD56 #56DDD2
split-complementary
#8F56DD #DDD256 #61DD56
monochromatic
#531F9A #6E29CD #8F56DD #B189E7 #D3BCF2

Accessibility & contrast

On white

4.62
#8F56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8F56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56DD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56DD#FFFFFF#000000##FFFFFF
##8F56DD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#7E7392
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f56dd;
/* rgb */ color: rgb(143, 86, 221);
/* oklch */ color: oklch(58.3% 0.198 299.7);
Tailwind
colors: {
  custom: {
    50: '#b588e8',
    500: '#8f56dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f56dd;
$custom-light: #b588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56dd",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 265.333,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.19807,
    "h": 299.7
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#8F56DD
secondary
#CBE1AE
accent
#CE1781
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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