#8A8CE9#8A8CE9

#8A8CE9 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.136 H 281.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A8CE9
RGBrgb(138, 140, 233)
HSLhsl(239, 68%, 73%)
HSVhsv(239, 41%, 91%)
CMYKcmyk(40.8%, 39.9%, 0%, 8.6%)
CIE-LABlab(61.69, 22.01, -47.31)
CIE-LCHlch(61.69, 52.18, 294.95°)
OKLaboklab(67.82% 0.0264 -0.1333)
OKLCHoklch(67.82% 0.136 281.2)
XYZxyz(34.5630, 30.0412, 81.0524)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CE9 #E9E78A
analogous
#8ABBE9 #8A8CE9 #B88AE9
triadic
#8A8CE9 #E98A8C #8CE98A
tetradic
#8A8CE9 #E98ABB #E9E78A #8AE9B8
square
#8A8CE9 #E98ABB #E9E78A #8AE9B8
split-complementary
#8A8CE9 #E9B88A #BBE98A
monochromatic
#272BD1 #5659DF #8A8CE9 #BEBFF3 #E5E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8CE9#FFFFFF#000000##000000
##8A8CE91.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98ED
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#6D9FAF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8ce9;
/* rgb */ color: rgb(138, 140, 233);
/* oklch */ color: oklch(67.8% 0.136 281.2);
Tailwind
colors: {
  custom: {
    50: '#b0adf0',
    500: '#8a8ce9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ce9;
$custom-light: #b0adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ce9",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 233
  },
  "hsl": {
    "h": 238.737,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67818,
    "c": 0.13586,
    "h": 281.2
  },
  "luminance": 0.30043
}

Semantic roles & 50–950 ramp

primary
#8A8CE9
secondary
#F2F1D9
accent
#CC15D0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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