#8F5DCD#8F5DCD

#8F5DCD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.169 H 302.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F5DCD
RGBrgb(143, 93, 205)
HSLhsl(267, 53%, 58%)
HSVhsv(267, 55%, 80%)
CMYKcmyk(30.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(49.59, 42.94, -50.75)
CIE-LCHlch(49.59, 66.48, 310.24°)
OKLaboklab(58.34% 0.0896 -0.1432)
OKLCHoklch(58.34% 0.169 302)
XYZxyz(26.2590, 18.0761, 59.8514)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DCD #9BCD5D
analogous
#5D63CD #8F5DCD #C75DCD
triadic
#8F5DCD #CD8F5D #5DCD8F
tetradic
#8F5DCD #CD5D63 #9BCD5D #5DCDC7
square
#8F5DCD #CD5D63 #9BCD5D #5DCDC7
split-complementary
#8F5DCD #CDC75D #63CD5D
monochromatic
#532986 #7038B5 #8F5DCD #AF8CDB #D0BBEA

Accessibility & contrast

On white

4.55
#8F5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5DCD#FFFFFF#000000##000000
##8F5DCD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#83738C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5dcd;
/* rgb */ color: rgb(143, 93, 205);
/* oklch */ color: oklch(58.3% 0.169 302.0);
Tailwind
colors: {
  custom: {
    50: '#b38cdd',
    500: '#8f5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dcd;
$custom-light: #b38cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dcd",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 266.786,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.16897,
    "h": 302
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

primary
#8F5DCD
secondary
#C5D9AD
accent
#DC4C9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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