#8F5CDC#8F5CDC

#8F5CDC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.188 H 298.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F5CDC
RGBrgb(143, 92, 220)
HSLhsl(264, 65%, 61%)
HSVhsv(264, 58%, 86%)
CMYKcmyk(35%, 58.2%, 0%, 13.7%)
CIE-LABlab(50.29, 47.24, -58.18)
CIE-LCHlch(50.29, 74.94, 309.08°)
OKLaboklab(59.15% 0.0911 -0.165)
OKLCHoklch(59.15% 0.188 298.9)
XYZxyz(28.0699, 18.6609, 69.8193)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CDC #A9DC5C
analogous
#5C69DC #8F5CDC #CF5CDC
triadic
#8F5CDC #DC8F5C #5CDC8F
tetradic
#8F5CDC #DC5C69 #A9DC5C #5CDCCF
square
#8F5CDC #DC5C69 #A9DC5C #5CDCCF
split-complementary
#8F5CDC #DCCF5C #69DC5C
monochromatic
#52229C #6D2CCE #8F5CDC #B28EE7 #D4C1F2

Accessibility & contrast

On white

4.44
#8F5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8F5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CDC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CDC#FFFFFF#000000##000000
##8F5CDC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E0
Deuteranopia (green-blind)
#3077D9
Tritanopia (blue-blind)
#7E7793
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5cdc;
/* rgb */ color: rgb(143, 92, 220);
/* oklch */ color: oklch(59.2% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#b48ce8',
    500: '#8f5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cdc;
$custom-light: #b48ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cdc",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 263.906,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.18849,
    "h": 298.9
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#8F5CDC
secondary
#CFE2B2
accent
#CC1985
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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