#8F8ED5#8F8ED5

#8F8ED5 is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.6% C 0.104 H 283.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F8ED5
RGBrgb(143, 142, 213)
HSLhsl(241, 46%, 70%)
HSVhsv(241, 33%, 84%)
CMYKcmyk(32.9%, 33.3%, 0%, 16.5%)
CIE-LABlab(61.64, 16.77, -36.23)
CIE-LCHlch(61.64, 39.93, 294.84°)
OKLaboklab(67.57% 0.025 -0.101)
OKLCHoklch(67.57% 0.104 283.9)
XYZxyz(33.0077, 29.9888, 66.9872)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8ED5 #D4D58E
analogous
#8EB1D5 #8F8ED5 #B38ED5
triadic
#8F8ED5 #D58F8E #8ED58F
tetradic
#8F8ED5 #D58EB1 #D4D58E #8ED5B3
square
#8F8ED5 #D58EB1 #D4D58E #8ED5B3
split-complementary
#8F8ED5 #D5B38E #B1D58E
monochromatic
#413FAA #6361C4 #8F8ED5 #BBBBE6 #E7E7F6

Accessibility & contrast

On white

3.00
#8F8ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8F8ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8ED5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8ED5#FFFFFF#000000##000000
##8F8ED51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7997D8
Deuteranopia (green-blind)
#7693D3
Tritanopia (blue-blind)
#7D9BA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f8ed5;
/* rgb */ color: rgb(143, 142, 213);
/* oklch */ color: oklch(67.6% 0.104 283.9);
Tailwind
colors: {
  custom: {
    50: '#b2afe2',
    500: '#8f8ed5',
    950: '#000000',
  },
}
SCSS
$custom: #8f8ed5;
$custom-light: #b2afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8ed5",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 213
  },
  "hsl": {
    "h": 240.845,
    "s": 45.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67573,
    "c": 0.10407,
    "h": 283.9
  },
  "luminance": 0.2999
}

Semantic roles & 50–950 ramp

primary
#8F8ED5
secondary
#E9EAD5
accent
#B92CB7
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8F8ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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