#8F56E7#8F56E7

#8F56E7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.210 H 297.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8F56E7
RGBrgb(143, 86, 231)
HSLhsl(264, 75%, 62%)
HSVhsv(264, 63%, 91%)
CMYKcmyk(38.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(49.82, 53.21, -65.16)
CIE-LCHlch(49.82, 84.13, 309.24°)
OKLaboklab(59.03% 0.0974 -0.1855)
OKLCHoklch(59.03% 0.21 297.7)
XYZxyz(29.0756, 18.2643, 77.5793)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56E7 #AEE756
analogous
#5666E7 #8F56E7 #D756E7
triadic
#8F56E7 #E78F56 #56E78F
tetradic
#8F56E7 #E75666 #AEE756 #56E7D7
square
#8F56E7 #E75666 #AEE756 #56E7D7
split-complementary
#8F56E7 #E7D756 #66E756
monochromatic
#5218AA #6B20DF #8F56E7 #B38CEF #D6C1F6

Accessibility & contrast

On white

4.51
#8F56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8F56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F56E7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56E7#FFFFFF#000000##000000
##8F56E71.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#7A7797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f56e7;
/* rgb */ color: rgb(143, 86, 231);
/* oklch */ color: oklch(59.0% 0.210 297.7);
Tailwind
colors: {
  custom: {
    50: '#b589ef',
    500: '#8f56e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f56e7;
$custom-light: #b589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56e7",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 263.586,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.20957,
    "h": 297.7
  },
  "luminance": 0.18265
}

Semantic roles & 50–950 ramp

primary
#8F56E7
secondary
#D2E7B2
accent
#D70E88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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