#8F5AEC#8F5AEC

#8F5AEC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.210 H 296.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5AEC
RGBrgb(143, 90, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 62%, 93%)
CMYKcmyk(39.4%, 61.9%, 0%, 7.5%)
CIE-LABlab(50.93, 52.40, -66.17)
CIE-LCHlch(50.93, 84.40, 308.38°)
OKLaboklab(59.95% 0.0927 -0.1885)
OKLCHoklch(59.95% 0.21 296.2)
XYZxyz(30.1202, 19.2075, 81.4611)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5AEC #B7EC5A
analogous
#5A6EEC #8F5AEC #D85AEC
triadic
#8F5AEC #EC8F5A #5AEC8F
tetradic
#8F5AEC #EC5A6E #B7EC5A #5AECD8
square
#8F5AEC #EC5A6E #B7EC5A #5AECD8
split-complementary
#8F5AEC #ECD85A #6EEC5A
monochromatic
#5015B7 #6A23E6 #8F5AEC #B491F2 #DAC8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F5AEC#FFFFFF#000000##000000
##8F5AEC1.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)
#007AF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#787B9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5aec;
/* rgb */ color: rgb(143, 90, 236);
/* oklch */ color: oklch(59.9% 0.210 296.2);
Tailwind
colors: {
  custom: {
    50: '#b68bf3',
    500: '#8f5aec',
    950: '#000000',
  },
}
SCSS
$custom: #8f5aec;
$custom-light: #b68bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5aec",
  "rgb": {
    "r": 143,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 261.781,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59949,
    "c": 0.21007,
    "h": 296.2
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#8F5AEC
secondary
#D8EBB7
accent
#DC0A8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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