#8F7ECA#8F7ECA

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

Color values

HEX#8F7ECA
RGBrgb(143, 126, 202)
HSLhsl(253, 42%, 64%)
HSVhsv(253, 38%, 79%)
CMYKcmyk(29.2%, 37.6%, 0%, 20.8%)
CIE-LABlab(57.10, 23.24, -37.15)
CIE-LCHlch(57.10, 43.82, 302.03°)
OKLaboklab(63.93% 0.0445 -0.1037)
OKLCHoklch(63.93% 0.113 293.2)
XYZxyz(29.4466, 25.0251, 59.1446)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7ECA #B9CA7E
analogous
#7E93CA #8F7ECA #B57ECA
triadic
#8F7ECA #CA8F7E #7ECA8F
tetradic
#8F7ECA #CA7E93 #B9CA7E #7ECAB5
square
#8F7ECA #CA7E93 #B9CA7E #7ECAB5
split-complementary
#8F7ECA #CAB57E #93CA7E
monochromatic
#4F3C92 #6953B8 #8F7ECA #B5A9DC #DAD5EE

Accessibility & contrast

On white

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

On black

6.01
#8F7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7ECA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7ECA#FFFFFF#000000##000000
##8F7ECA1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7eca;
/* rgb */ color: rgb(143, 126, 202);
/* oklch */ color: oklch(63.9% 0.113 293.2);
Tailwind
colors: {
  custom: {
    50: '#b1a3da',
    500: '#8f7eca',
    950: '#000000',
  },
}
SCSS
$custom: #8f7eca;
$custom-light: #b1a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7eca",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 253.421,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.1128,
    "h": 293.2
  },
  "luminance": 0.25026
}

Semantic roles & 50–950 ramp

primary
#8F7ECA
secondary
#D9DFC5
accent
#B53197
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8F7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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