#8A8FFC#8A8FFC

#8A8FFC is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.4% C 0.158 H 279.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8A8FFC
RGBrgb(138, 143, 252)
HSLhsl(237, 95%, 76%)
HSVhsv(237, 45%, 99%)
CMYKcmyk(45.2%, 43.3%, 0%, 1.2%)
CIE-LABlab(63.40, 25.66, -55.06)
CIE-LCHlch(63.40, 60.74, 294.99°)
OKLaboklab(69.44% 0.026 -0.1559)
OKLCHoklch(69.44% 0.158 279.5)
XYZxyz(37.8691, 32.0746, 96.2722)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FFC #FCF78A
analogous
#8AC8FC #8A8FFC #BE8AFC
triadic
#8A8FFC #FC8A8F #8FFC8A
tetradic
#8A8FFC #FC8AC8 #FCF78A #8AFCBE
square
#8A8FFC #FC8AC8 #FCF78A #8AFCBE
split-complementary
#8A8FFC #FCBE8A #C8FC8A
monochromatic
#131DF9 #4E56FA #8A8FFC #C6C8FE #E1E2FE

Accessibility & contrast

On white

2.83
#8A8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#8A8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FFC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FFC#FFFFFF#000000##000000
##8A8FFC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#63A6B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8ffc;
/* rgb */ color: rgb(138, 143, 252);
/* oklch */ color: oklch(69.4% 0.158 279.5);
Tailwind
colors: {
  custom: {
    50: '#b2affe',
    500: '#8a8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ffc;
$custom-light: #b2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ffc",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 237.368,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.6944,
    "c": 0.15804,
    "h": 279.5
  },
  "luminance": 0.32076
}

Semantic roles & 50–950 ramp

primary
#8A8FFC
secondary
#F6F5D5
accent
#DB00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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