#8F7EC9#8F7EC9

#8F7EC9 is a light, moderate violet. Relative luminance 0.250; OKLCH L 63.9% C 0.111 H 293.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8F7EC9
RGBrgb(143, 126, 201)
HSLhsl(254, 41%, 64%)
HSVhsv(254, 37%, 79%)
CMYKcmyk(28.9%, 37.3%, 0%, 21.2%)
CIE-LABlab(57.05, 22.99, -36.66)
CIE-LCHlch(57.05, 43.27, 302.09°)
OKLaboklab(63.88% 0.0443 -0.1022)
OKLCHoklch(63.88% 0.111 293.4)
XYZxyz(29.3286, 24.9779, 58.5231)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EC9 #B8C97E
analogous
#7E93C9 #8F7EC9 #B57EC9
triadic
#8F7EC9 #C98F7E #7EC98F
tetradic
#8F7EC9 #C97E93 #B8C97E #7EC9B5
square
#8F7EC9 #C97E93 #B8C97E #7EC9B5
split-complementary
#8F7EC9 #C9B57E #93C97E
monochromatic
#4F3C90 #6A53B7 #8F7EC9 #B4A9DB #DAD4ED

Accessibility & contrast

On white

3.50
#8F7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8F7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EC9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EC9#FFFFFF#000000##000000
##8F7EC91.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACC
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#828B9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f7ec9;
/* rgb */ color: rgb(143, 126, 201);
/* oklch */ color: oklch(63.9% 0.111 293.4);
Tailwind
colors: {
  custom: {
    50: '#b1a3d9',
    500: '#8f7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ec9;
$custom-light: #b1a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ec9",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 253.6,
    "s": 40.984,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.1114,
    "h": 293.4
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#8F7EC9
secondary
#D9DEC4
accent
#B43196
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F15
muted
#807F83

Preview Lab

Preview with #8F7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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