#8F5CC0#8F5CC0

#8F5CC0 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.155 H 305.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F5CC0
RGBrgb(143, 92, 192)
HSLhsl(271, 44%, 56%)
HSVhsv(271, 52%, 75%)
CMYKcmyk(25.5%, 52.1%, 0%, 24.7%)
CIE-LABlab(48.64, 40.33, -44.79)
CIE-LCHlch(48.64, 60.27, 312.00°)
OKLaboklab(57.4% 0.0902 -0.1258)
OKLCHoklch(57.4% 0.155 305.6)
XYZxyz(24.6673, 17.2999, 51.8987)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CC0 #8DC05C
analogous
#5D5CC0 #8F5CC0 #C05CBF
triadic
#8F5CC0 #C08F5C #5CC08F
tetradic
#8F5CC0 #C05D5C #8DC05C #5CBFC0
square
#8F5CC0 #C05D5C #8DC05C #5CBFC0
split-complementary
#8F5CC0 #BFC05C #5CC05D
monochromatic
#522D75 #703EA1 #8F5CC0 #AD88D1 #CCB4E2

Accessibility & contrast

On white

4.71
#8F5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8F5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5CC0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CC0#FFFFFF#000000##FFFFFF
##8F5CC01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C3
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#876E85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f5cc0;
/* rgb */ color: rgb(143, 92, 192);
/* oklch */ color: oklch(57.4% 0.155 305.6);
Tailwind
colors: {
  custom: {
    50: '#b28cd3',
    500: '#8f5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cc0;
$custom-light: #b28cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cc0",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 270.6,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.15477,
    "h": 305.6
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#8F5CC0
secondary
#BBD1A7
accent
#D45493
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8F5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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