#8F5ECB#8F5ECB

#8F5ECB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.165 H 302.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F5ECB
RGBrgb(143, 94, 203)
HSLhsl(267, 51%, 58%)
HSVhsv(267, 54%, 80%)
CMYKcmyk(29.6%, 53.7%, 0%, 20.4%)
CIE-LABlab(49.69, 41.89, -49.45)
CIE-LCHlch(49.69, 64.81, 310.27°)
OKLaboklab(58.38% 0.0882 -0.1394)
OKLCHoklch(58.38% 0.165 302.3)
XYZxyz(26.1074, 18.1568, 58.6175)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5ECB #9ACB5E
analogous
#5E63CB #8F5ECB #C55ECB
triadic
#8F5ECB #CB8F5E #5ECB8F
tetradic
#8F5ECB #CB5E63 #9ACB5E #5ECBC5
square
#8F5ECB #CB5E63 #9ACB5E #5ECBC5
split-complementary
#8F5ECB #CBC55E #63CB5E
monochromatic
#532B84 #703AB2 #8F5ECB #AF8CDA #CFBBE9

Accessibility & contrast

On white

4.53
#8F5ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F5ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5ECB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5ECB#FFFFFF#000000##000000
##8F5ECB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#84738B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5ecb;
/* rgb */ color: rgb(143, 94, 203);
/* oklch */ color: oklch(58.4% 0.165 302.3);
Tailwind
colors: {
  custom: {
    50: '#b38ddb',
    500: '#8f5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ecb;
$custom-light: #b38ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ecb",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 266.972,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.165,
    "h": 302.3
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#8F5ECB
secondary
#C5D8AD
accent
#DB4D9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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