#8F60DC#8F60DC

#8F60DC is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.183 H 298.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F60DC
RGBrgb(143, 96, 220)
HSLhsl(263, 64%, 62%)
HSVhsv(263, 56%, 86%)
CMYKcmyk(35%, 56.4%, 0%, 13.7%)
CIE-LABlab(51.12, 45.06, -56.84)
CIE-LCHlch(51.12, 72.53, 308.41°)
OKLaboklab(59.76% 0.0862 -0.1611)
OKLCHoklch(59.76% 0.183 298.2)
XYZxyz(28.4256, 19.3723, 69.9379)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F60DC #ADDC60
analogous
#606FDC #8F60DC #CD60DC
triadic
#8F60DC #DC8F60 #60DC8F
tetradic
#8F60DC #DC606F #ADDC60 #60DCCD
square
#8F60DC #DC606F #ADDC60 #60DCCD
split-complementary
#8F60DC #DCCD60 #6FDC60
monochromatic
#52239F #6C2ED1 #8F60DC #B292E7 #D6C4F2

Accessibility & contrast

On white

4.31
#8F60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8F60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F60DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F60DC#FFFFFF#000000##000000
##8F60DC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#257AE0
Deuteranopia (green-blind)
#3779D9
Tritanopia (blue-blind)
#7E7A95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f60dc;
/* rgb */ color: rgb(143, 96, 220);
/* oklch */ color: oklch(59.8% 0.183 298.2);
Tailwind
colors: {
  custom: {
    50: '#b48fe7',
    500: '#8f60dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f60dc;
$custom-light: #b48fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f60dc",
  "rgb": {
    "r": 143,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 262.742,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.18273,
    "h": 298.2
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#8F60DC
secondary
#D1E3B5
accent
#CC1A88
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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