#8F7EC8#8F7EC8

#8F7EC8 is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.8% C 0.110 H 293.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8F7EC8
RGBrgb(143, 126, 200)
HSLhsl(254, 40%, 64%)
HSVhsv(254, 37%, 78%)
CMYKcmyk(28.5%, 37%, 0%, 21.6%)
CIE-LABlab(57.01, 22.73, -36.16)
CIE-LCHlch(57.01, 42.71, 302.15°)
OKLaboklab(63.83% 0.044 -0.1008)
OKLCHoklch(63.83% 0.11 293.6)
XYZxyz(29.2113, 24.9310, 57.9055)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EC8 #B7C87E
analogous
#7E92C8 #8F7EC8 #B47EC8
triadic
#8F7EC8 #C88F7E #7EC88F
tetradic
#8F7EC8 #C87E92 #B7C87E #7EC8B4
square
#8F7EC8 #C87E92 #B7C87E #7EC8B4
split-complementary
#8F7EC8 #C8B47E #92C87E
monochromatic
#503D8F #6A53B6 #8F7EC8 #B4A9DA #DAD4ED

Accessibility & contrast

On white

3.51
#8F7EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8F7EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EC8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EC8#FFFFFF#000000##000000
##8F7EC81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#6C88C6
Tritanopia (blue-blind)
#838B9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f7ec8;
/* rgb */ color: rgb(143, 126, 200);
/* oklch */ color: oklch(63.8% 0.110 293.6);
Tailwind
colors: {
  custom: {
    50: '#b1a3d9',
    500: '#8f7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ec8;
$custom-light: #b1a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ec8",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 253.784,
    "s": 40.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6383,
    "c": 0.11,
    "h": 293.6
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

primary
#8F7EC8
secondary
#D8DEC4
accent
#B33296
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #8F7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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