#8F5DEC#8F5DEC

#8F5DEC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.206 H 295.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F5DEC
RGBrgb(143, 93, 236)
HSLhsl(261, 79%, 65%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(39.4%, 60.6%, 0%, 7.5%)
CIE-LABlab(51.52, 50.81, -65.21)
CIE-LCHlch(51.52, 82.66, 307.93°)
OKLaboklab(60.38% 0.0894 -0.1857)
OKLCHoklch(60.38% 0.206 295.7)
XYZxyz(30.3784, 19.7239, 81.5472)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DEC #BAEC5D
analogous
#5D73EC #8F5DEC #D75DEC
triadic
#8F5DEC #EC8F5D #5DEC8F
tetradic
#8F5DEC #EC5D73 #BAEC5D #5DECD7
square
#8F5DEC #EC5D73 #BAEC5D #5DECD7
split-complementary
#8F5DEC #ECD75D #73EC5D
monochromatic
#4F16B9 #6926E6 #8F5DEC #B594F2 #DBCBF9

Accessibility & contrast

On white

4.25
#8F5DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8F5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DEC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DEC#FFFFFF#000000##000000
##8F5DEC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0D79E9
Tritanopia (blue-blind)
#787D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5dec;
/* rgb */ color: rgb(143, 93, 236);
/* oklch */ color: oklch(60.4% 0.206 295.7);
Tailwind
colors: {
  custom: {
    50: '#b58df3',
    500: '#8f5dec',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dec;
$custom-light: #b58df3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dec",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 260.979,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.20609,
    "h": 295.7
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#8F5DEC
secondary
#DAEBBA
accent
#DB0A92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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