#8F55E7#8F55E7

#8F55E7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.211 H 297.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F55E7
RGBrgb(143, 85, 231)
HSLhsl(264, 75%, 62%)
HSVhsv(264, 63%, 91%)
CMYKcmyk(38.1%, 63.2%, 0%, 9.4%)
CIE-LABlab(49.62, 53.73, -65.47)
CIE-LCHlch(49.62, 84.69, 309.38°)
OKLaboklab(58.9% 0.0985 -0.1864)
OKLCHoklch(58.9% 0.211 297.9)
XYZxyz(28.9963, 18.1057, 77.5529)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F55E7 #ADE755
analogous
#5564E7 #8F55E7 #D855E7
triadic
#8F55E7 #E78F55 #55E78F
tetradic
#8F55E7 #E75564 #ADE755 #55E7D8
square
#8F55E7 #E75564 #ADE755 #55E7D8
split-complementary
#8F55E7 #E7D855 #64E755
monochromatic
#5218AA #6C20DF #8F55E7 #B28BEF #D6C0F6

Accessibility & contrast

On white

4.54
#8F55E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8F55E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F55E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F55E7#FFFFFF#000000##000000
##8F55E71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#7A7696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f55e7;
/* rgb */ color: rgb(143, 85, 231);
/* oklch */ color: oklch(58.9% 0.211 297.9);
Tailwind
colors: {
  custom: {
    50: '#b588ef',
    500: '#8f55e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f55e7;
$custom-light: #b588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f55e7",
  "rgb": {
    "r": 143,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 263.836,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.21088,
    "h": 297.9
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#8F55E7
secondary
#D1E7B1
accent
#D70E87
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F55E7

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

Preview Lab → · Contrast checker → · Palette generator →

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