#8F5CD4#8F5CD4

#8F5CD4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.179 H 300.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8F5CD4
RGBrgb(143, 92, 212)
HSLhsl(266, 58%, 60%)
HSVhsv(266, 57%, 83%)
CMYKcmyk(32.5%, 56.6%, 0%, 16.9%)
CIE-LABlab(49.79, 45.23, -54.42)
CIE-LCHlch(49.79, 70.76, 309.73°)
OKLaboklab(58.63% 0.0911 -0.154)
OKLCHoklch(58.63% 0.179 300.6)
XYZxyz(27.0357, 18.2472, 64.3723)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CD4 #A1D45C
analogous
#5C65D4 #8F5CD4 #CB5CD4
triadic
#8F5CD4 #D48F5C #5CD48F
tetradic
#8F5CD4 #D45C65 #A1D45C #5CD4CB
square
#8F5CD4 #D45C65 #A1D45C #5CD4CB
split-complementary
#8F5CD4 #D4CB5C #65D45C
monochromatic
#532690 #6F33C0 #8F5CD4 #B08CE1 #D2BDEE

Accessibility & contrast

On white

4.52
#8F5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5CD4#FFFFFF#000000##000000
##8F5CD41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D8
Deuteranopia (green-blind)
#3A76D1
Tritanopia (blue-blind)
#81748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5cd4;
/* rgb */ color: rgb(143, 92, 212);
/* oklch */ color: oklch(58.6% 0.179 300.6);
Tailwind
colors: {
  custom: {
    50: '#b48ce2',
    500: '#8f5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cd4;
$custom-light: #b48ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cd4",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 265.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.17891,
    "h": 300.6
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#8F5CD4
secondary
#C9DDAF
accent
#E146A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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