#8F5DCC#8F5DCC

#8F5DCC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.168 H 302.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8F5DCC
RGBrgb(143, 93, 204)
HSLhsl(267, 52%, 58%)
HSVhsv(267, 54%, 80%)
CMYKcmyk(29.9%, 54.4%, 0%, 20%)
CIE-LABlab(49.53, 42.69, -50.27)
CIE-LCHlch(49.53, 65.95, 310.34°)
OKLaboklab(58.28% 0.0896 -0.1418)
OKLCHoklch(58.28% 0.168 302.3)
XYZxyz(26.1386, 18.0279, 59.2177)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DCC #9ACC5D
analogous
#5D62CC #8F5DCC #C65DCC
triadic
#8F5DCC #CC8F5D #5DCC8F
tetradic
#8F5DCC #CC5D62 #9ACC5D #5DCCC6
square
#8F5DCC #CC5D62 #9ACC5D #5DCCC6
split-complementary
#8F5DCC #CCC65D #62CC5D
monochromatic
#532A85 #7038B3 #8F5DCC #AF8CDB #CFBAE9

Accessibility & contrast

On white

4.56
#8F5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8F5DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DCC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DCC#FFFFFF#000000##000000
##8F5DCC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#83728C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5dcc;
/* rgb */ color: rgb(143, 93, 204);
/* oklch */ color: oklch(58.3% 0.168 302.3);
Tailwind
colors: {
  custom: {
    50: '#b38cdc',
    500: '#8f5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dcc;
$custom-light: #b38cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dcc",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 267.027,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.16776,
    "h": 302.3
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#8F5DCC
secondary
#C5D9AC
accent
#DC4C9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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