#8D8AEF#8D8AEF

#8D8AEF is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.147 H 283.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D8AEF
RGBrgb(141, 138, 239)
HSLhsl(242, 76%, 74%)
HSVhsv(242, 42%, 94%)
CMYKcmyk(41%, 42.3%, 0%, 6.3%)
CIE-LABlab(61.71, 25.60, -50.57)
CIE-LCHlch(61.71, 56.69, 296.85°)
OKLaboklab(67.99% 0.0333 -0.1427)
OKLCHoklch(67.99% 0.147 283.1)
XYZxyz(35.6485, 30.0702, 85.5704)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AEF #ECEF8A
analogous
#8ABAEF #8D8AEF #C08AEF
triadic
#8D8AEF #EF8D8A #8AEF8D
tetradic
#8D8AEF #EF8ABA #ECEF8A #8AEFC0
square
#8D8AEF #EF8ABA #ECEF8A #8AEFC0
split-complementary
#8D8AEF #EFC08A #BAEF8A
monochromatic
#241FE0 #5954E8 #8D8AEF #C1C0F6 #E5E4FB

Accessibility & contrast

On white

2.99
#8D8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8D8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8AEF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8AEF#FFFFFF#000000##000000
##8D8AEF1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#709EB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d8aef;
/* rgb */ color: rgb(141, 138, 239);
/* oklch */ color: oklch(68.0% 0.147 283.1);
Tailwind
colors: {
  custom: {
    50: '#b2acf5',
    500: '#8d8aef',
    950: '#000000',
  },
}
SCSS
$custom: #8d8aef;
$custom-light: #b2acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8aef",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 241.782,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67991,
    "c": 0.14657,
    "h": 283.1
  },
  "luminance": 0.30072
}

Semantic roles & 50–950 ramp

primary
#8D8AEF
secondary
#F2F3D8
accent
#D80DD2
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8D8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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