#8F5CDA#8F5CDA

#8F5CDA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.186 H 299.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F5CDA
RGBrgb(143, 92, 218)
HSLhsl(264, 63%, 61%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(34.4%, 57.8%, 0%, 14.5%)
CIE-LABlab(50.16, 46.74, -57.24)
CIE-LCHlch(50.16, 73.90, 309.23°)
OKLaboklab(59.02% 0.0911 -0.1623)
OKLCHoklch(59.02% 0.186 299.3)
XYZxyz(27.8066, 18.5556, 68.4327)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CDA #A7DA5C
analogous
#5C68DA #8F5CDA #CE5CDA
triadic
#8F5CDA #DA8F5C #5CDA8F
tetradic
#8F5CDA #DA5C68 #A7DA5C #5CDACE
square
#8F5CDA #DA5C68 #A7DA5C #5CDACE
split-complementary
#8F5CDA #DACE5C #68DA5C
monochromatic
#532399 #6D2ECB #8F5CDA #B18EE5 #D4C0F1

Accessibility & contrast

On white

4.46
#8F5CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8F5CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CDA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CDA#FFFFFF#000000##000000
##8F5CDA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B77DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#7F7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5cda;
/* rgb */ color: rgb(143, 92, 218);
/* oklch */ color: oklch(59.0% 0.186 299.3);
Tailwind
colors: {
  custom: {
    50: '#b48ce6',
    500: '#8f5cda',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cda;
$custom-light: #b48ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cda",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 264.286,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.1861,
    "h": 299.3
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#8F5CDA
secondary
#CDE1B1
accent
#CB1B84
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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