#8F5FDC#8F5FDC

#8F5FDC is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.184 H 298.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5FDC
RGBrgb(143, 95, 220)
HSLhsl(263, 64%, 62%)
HSVhsv(263, 57%, 86%)
CMYKcmyk(35%, 56.8%, 0%, 13.7%)
CIE-LABlab(50.91, 45.61, -57.18)
CIE-LCHlch(50.91, 73.14, 308.58°)
OKLaboklab(59.61% 0.0874 -0.1621)
OKLCHoklch(59.61% 0.184 298.3)
XYZxyz(28.3350, 19.1910, 69.9077)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FDC #ACDC5F
analogous
#5F6EDC #8F5FDC #CE5FDC
triadic
#8F5FDC #DC8F5F #5FDC8F
tetradic
#8F5FDC #DC5F6E #ACDC5F #5FDCCE
square
#8F5FDC #DC5F6E #ACDC5F #5FDCCE
split-complementary
#8F5FDC #DCCE5F #6EDC5F
monochromatic
#52239E #6C2ED0 #8F5FDC #B291E7 #D5C3F2

Accessibility & contrast

On white

4.34
#8F5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FDC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FDC#FFFFFF#000000##000000
##8F5FDC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2279E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#7E7994
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5fdc;
/* rgb */ color: rgb(143, 95, 220);
/* oklch */ color: oklch(59.6% 0.184 298.3);
Tailwind
colors: {
  custom: {
    50: '#b48ee7',
    500: '#8f5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5fdc;
$custom-light: #b48ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5fdc",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 263.04,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.18418,
    "h": 298.3
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#8F5FDC
secondary
#D1E3B4
accent
#CC1A87
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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