#8F5ECA#8F5ECA

#8F5ECA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.164 H 302.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F5ECA
RGBrgb(143, 94, 202)
HSLhsl(267, 50%, 58%)
HSVhsv(267, 53%, 79%)
CMYKcmyk(29.2%, 53.5%, 0%, 20.8%)
CIE-LABlab(49.63, 41.65, -48.97)
CIE-LCHlch(49.63, 64.28, 310.38°)
OKLaboklab(58.32% 0.0882 -0.138)
OKLCHoklch(58.32% 0.164 302.6)
XYZxyz(25.9887, 18.1093, 57.9920)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ECA #99CA5E
analogous
#5E63CA #8F5ECA #C55ECA
triadic
#8F5ECA #CA8F5E #5ECA8F
tetradic
#8F5ECA #CA5E63 #99CA5E #5ECAC5
square
#8F5ECA #CA5E63 #99CA5E #5ECAC5
split-complementary
#8F5ECA #CAC55E #63CA5E
monochromatic
#532B83 #703AB1 #8F5ECA #AF8CD9 #CFBAE8

Accessibility & contrast

On white

4.54
#8F5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8F5ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5ECA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ECA#FFFFFF#000000##000000
##8F5ECA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#84728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5eca;
/* rgb */ color: rgb(143, 94, 202);
/* oklch */ color: oklch(58.3% 0.164 302.6);
Tailwind
colors: {
  custom: {
    50: '#b38ddb',
    500: '#8f5eca',
    950: '#000000',
  },
}
SCSS
$custom: #8f5eca;
$custom-light: #b38ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5eca",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 267.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.16378,
    "h": 302.6
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#8F5ECA
secondary
#C4D7AC
accent
#DA4E9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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