#8A8CF5#8A8CF5

#8A8CF5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.5% C 0.152 H 280.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A8CF5
RGBrgb(138, 140, 245)
HSLhsl(239, 84%, 75%)
HSVhsv(239, 44%, 96%)
CMYKcmyk(43.7%, 42.9%, 0%, 3.9%)
CIE-LABlab(62.30, 25.40, -52.97)
CIE-LCHlch(62.30, 58.75, 295.62°)
OKLaboklab(68.48% 0.0285 -0.1498)
OKLCHoklch(68.48% 0.152 280.8)
XYZxyz(36.3358, 30.7503, 90.3893)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CF5 #F5F38A
analogous
#8AC1F5 #8A8CF5 #BE8AF5
triadic
#8A8CF5 #F58A8C #8CF58A
tetradic
#8A8CF5 #F58AC1 #F5F38A #8AF5BE
square
#8A8CF5 #F58AC1 #F5F38A #8AF5BE
split-complementary
#8A8CF5 #F5BE8A #C1F58A
monochromatic
#191DEB #5255F0 #8A8CF5 #C2C3FA #E3E3FD

Accessibility & contrast

On white

2.94
#8A8CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8A8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CF5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CF5#FFFFFF#000000##000000
##8A8CF51.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BF9
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#67A2B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8cf5;
/* rgb */ color: rgb(138, 140, 245);
/* oklch */ color: oklch(68.5% 0.152 280.8);
Tailwind
colors: {
  custom: {
    50: '#b1adf9',
    500: '#8a8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cf5;
$custom-light: #b1adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cf5",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 238.879,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.15249,
    "h": 280.8
  },
  "luminance": 0.30752
}

Semantic roles & 50–950 ramp

primary
#8A8CF5
secondary
#F5F4D6
accent
#DD05E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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