#8F56CA#8F56CA

#8F56CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.176 H 304.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F56CA
RGBrgb(143, 86, 202)
HSLhsl(269, 52%, 56%)
HSVhsv(269, 57%, 79%)
CMYKcmyk(29.2%, 57.4%, 0%, 20.8%)
CIE-LABlab(47.96, 46.02, -51.64)
CIE-LCHlch(47.96, 69.17, 311.71°)
OKLaboklab(57.09% 0.0985 -0.1458)
OKLCHoklch(57.09% 0.176 304)
XYZxyz(25.3138, 16.7596, 57.7670)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56CA #91CA56
analogous
#5657CA #8F56CA #C956CA
triadic
#8F56CA #CA8F56 #56CA8F
tetradic
#8F56CA #CA5657 #91CA56 #56CAC9
square
#8F56CA #CA5657 #91CA56 #56CAC9
split-complementary
#8F56CA #CAC956 #57CA56
monochromatic
#52287E #7036AD #8F56CA #AE85D9 #CDB3E7

Accessibility & contrast

On white

4.83
#8F56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8F56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56CA#FFFFFF#000000##FFFFFF
##8F56CA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#846D88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f56ca;
/* rgb */ color: rgb(143, 86, 202);
/* oklch */ color: oklch(57.1% 0.176 304.0);
Tailwind
colors: {
  custom: {
    50: '#b388db',
    500: '#8f56ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f56ca;
$custom-light: #b388db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56ca",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 269.483,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.17597,
    "h": 304
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#8F56CA
secondary
#BED6A6
accent
#DC4C95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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