#8F5CD3#8F5CD3

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

Color values

HEX#8F5CD3
RGBrgb(143, 92, 211)
HSLhsl(266, 57%, 59%)
HSVhsv(266, 56%, 83%)
CMYKcmyk(32.2%, 56.4%, 0%, 17.3%)
CIE-LABlab(49.73, 44.98, -53.95)
CIE-LCHlch(49.73, 70.24, 309.82°)
OKLaboklab(58.57% 0.0911 -0.1526)
OKLCHoklch(58.57% 0.178 300.8)
XYZxyz(26.9099, 18.1969, 63.7100)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CD3 #A0D35C
analogous
#5C65D3 #8F5CD3 #CA5CD3
triadic
#8F5CD3 #D38F5C #5CD38F
tetradic
#8F5CD3 #D35C65 #A0D35C #5CD3CA
square
#8F5CD3 #D35C65 #A0D35C #5CD3CA
split-complementary
#8F5CD3 #D3CA5C #65D35C
monochromatic
#53268E #6F33BE #8F5CD3 #B08CE0 #D1BCED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5CD3#FFFFFF#000000##000000
##8F5CD31.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)
#2876D7
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#81748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5cd3;
/* rgb */ color: rgb(143, 92, 211);
/* oklch */ color: oklch(58.6% 0.178 300.8);
Tailwind
colors: {
  custom: {
    50: '#b38ce1',
    500: '#8f5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cd3;
$custom-light: #b38ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cd3",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 265.714,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.17771,
    "h": 300.8
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#8F5CD3
secondary
#C9DDAE
accent
#E1479F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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