#8F5EEC#8F5EEC

#8F5EEC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.205 H 295.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8F5EEC
RGBrgb(143, 94, 236)
HSLhsl(261, 79%, 65%)
HSVhsv(261, 60%, 93%)
CMYKcmyk(39.4%, 60.2%, 0%, 7.5%)
CIE-LABlab(51.72, 50.27, -64.88)
CIE-LCHlch(51.72, 82.08, 307.77°)
OKLaboklab(60.53% 0.0883 -0.1847)
OKLCHoklch(60.53% 0.205 295.5)
XYZxyz(30.4668, 19.9005, 81.5766)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EEC #BBEC5E
analogous
#5E74EC #8F5EEC #D65EEC
triadic
#8F5EEC #EC8F5E #5EEC8F
tetradic
#8F5EEC #EC5E74 #BBEC5E #5EECD6
square
#8F5EEC #EC5E74 #BBEC5E #5EECD6
split-complementary
#8F5EEC #ECD65E #74EC5E
monochromatic
#4E16BA #6927E6 #8F5EEC #B595F2 #DBCBF9

Accessibility & contrast

On white

4.22
#8F5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8F5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EEC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EEC#FFFFFF#000000##000000
##8F5EEC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f5eec;
/* rgb */ color: rgb(143, 94, 236);
/* oklch */ color: oklch(60.5% 0.205 295.5);
Tailwind
colors: {
  custom: {
    50: '#b58ef3',
    500: '#8f5eec',
    950: '#000000',
  },
}
SCSS
$custom: #8f5eec;
$custom-light: #b58ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5eec",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 260.704,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.20474,
    "h": 295.5
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#8F5EEC
secondary
#DAEBBB
accent
#DB0A93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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