#8F54D2#8F54D2

#8F54D2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.188 H 302.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F54D2
RGBrgb(143, 84, 210)
HSLhsl(268, 58%, 58%)
HSVhsv(268, 60%, 82%)
CMYKcmyk(31.9%, 60%, 0%, 17.6%)
CIE-LABlab(48.05, 49.03, -56.08)
CIE-LCHlch(48.05, 74.49, 311.16°)
OKLaboklab(57.31% 0.1009 -0.1589)
OKLCHoklch(57.31% 0.188 302.4)
XYZxyz(26.1282, 16.8334, 62.8329)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54D2 #97D254
analogous
#5458D2 #8F54D2 #CE54D2
triadic
#8F54D2 #D28F54 #54D28F
tetradic
#8F54D2 #D25458 #97D254 #54D2CE
square
#8F54D2 #D25458 #97D254 #54D2CE
split-complementary
#8F54D2 #D2CE54 #58D254
monochromatic
#532488 #7031B8 #8F54D2 #AF84DF #CEB5EB

Accessibility & contrast

On white

4.81
#8F54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54D2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54D2#FFFFFF#000000##FFFFFF
##8F54D21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A71D6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#826E8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f54d2;
/* rgb */ color: rgb(143, 84, 210);
/* oklch */ color: oklch(57.3% 0.188 302.4);
Tailwind
colors: {
  custom: {
    50: '#b487e0',
    500: '#8f54d2',
    950: '#000000',
  },
}
SCSS
$custom: #8f54d2;
$custom-light: #b487e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54d2",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 268.095,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.18818,
    "h": 302.4
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#8F54D2
secondary
#C3DAA8
accent
#E24699
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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