#8F54EB#8F54EB

#8F54EB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.217 H 297.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F54EB
RGBrgb(143, 84, 235)
HSLhsl(263, 79%, 63%)
HSVhsv(263, 64%, 92%)
CMYKcmyk(39.1%, 64.3%, 0%, 7.8%)
CIE-LABlab(49.71, 55.25, -67.58)
CIE-LCHlch(49.71, 87.29, 309.27°)
OKLaboklab(59.05% 0.0992 -0.1927)
OKLCHoklch(59.05% 0.217 297.3)
XYZxyz(29.4896, 18.1779, 80.5362)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54EB #B0EB54
analogous
#5464EB #8F54EB #DB54EB
triadic
#8F54EB #EB8F54 #54EB8F
tetradic
#8F54EB #EB5464 #B0EB54 #54EBDB
square
#8F54EB #EB5464 #B0EB54 #54EBDB
split-complementary
#8F54EB #EBDB54 #64EB54
monochromatic
#5115B0 #6B1DE5 #8F54EB #B38BF1 #D7C2F8

Accessibility & contrast

On white

4.53
#8F54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8F54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F54EB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54EB#FFFFFF#000000##000000
##8F54EB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#797798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f54eb;
/* rgb */ color: rgb(143, 84, 235);
/* oklch */ color: oklch(59.0% 0.217 297.3);
Tailwind
colors: {
  custom: {
    50: '#b687f2',
    500: '#8f54eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f54eb;
$custom-light: #b687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54eb",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 263.444,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.21671,
    "h": 297.3
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#8F54EB
secondary
#D3E9B2
accent
#DB0A8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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