#8F5ADC#8F5ADC

#8F5ADC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.191 H 299.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8F5ADC
RGBrgb(143, 90, 220)
HSLhsl(264, 65%, 61%)
HSVhsv(264, 59%, 86%)
CMYKcmyk(35%, 59.1%, 0%, 13.7%)
CIE-LABlab(49.88, 48.32, -58.83)
CIE-LCHlch(49.88, 76.13, 309.40°)
OKLaboklab(58.85% 0.0934 -0.1669)
OKLCHoklch(58.85% 0.191 299.2)
XYZxyz(27.8990, 18.3190, 69.7623)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ADC #A7DC5A
analogous
#5A66DC #8F5ADC #D05ADC
triadic
#8F5ADC #DC8F5A #5ADC8F
tetradic
#8F5ADC #DC5A66 #A7DC5A #5ADCD0
square
#8F5ADC #DC5A66 #A7DC5A #5ADCD0
split-complementary
#8F5ADC #DCD05A #66DC5A
monochromatic
#53219B #6D2CCD #8F5ADC #B18CE7 #D4BFF1

Accessibility & contrast

On white

4.50
#8F5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8F5ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5ADC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ADC#FFFFFF#000000##000000
##8F5ADC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0977E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#7E7592
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f5adc;
/* rgb */ color: rgb(143, 90, 220);
/* oklch */ color: oklch(58.9% 0.191 299.2);
Tailwind
colors: {
  custom: {
    50: '#b48be8',
    500: '#8f5adc',
    950: '#000000',
  },
}
SCSS
$custom: #8f5adc;
$custom-light: #b48be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5adc",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 264.462,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.19132,
    "h": 299.2
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#8F5ADC
secondary
#CDE2B0
accent
#CD1983
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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