#8D8AFA#8D8AFA

#8D8AFA is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.6% C 0.162 H 282.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8D8AFA
RGBrgb(141, 138, 250)
HSLhsl(242, 92%, 76%)
HSVhsv(242, 45%, 98%)
CMYKcmyk(43.6%, 44.8%, 0%, 2%)
CIE-LABlab(62.29, 28.70, -55.72)
CIE-LCHlch(62.29, 62.68, 297.25°)
OKLaboklab(68.61% 0.0349 -0.1578)
OKLCHoklch(68.61% 0.162 282.5)
XYZxyz(37.3232, 30.7401, 94.3908)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AFA #F7FA8A
analogous
#8ABFFA #8D8AFA #C58AFA
triadic
#8D8AFA #FA8D8A #8AFA8D
tetradic
#8D8AFA #FA8ABF #F7FA8A #8AFAC5
square
#8D8AFA #FA8ABF #F7FA8A #8AFAC5
split-complementary
#8D8AFA #FAC58A #BFFA8A
monochromatic
#1B15F5 #544FF7 #8D8AFA #C6C5FD #E2E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8AFA#FFFFFF#000000##000000
##8D8AFA1.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)
#5E9AFE
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#6AA1B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8d8afa;
/* rgb */ color: rgb(141, 138, 250);
/* oklch */ color: oklch(68.6% 0.162 282.5);
Tailwind
colors: {
  custom: {
    50: '#b3acfc',
    500: '#8d8afa',
    950: '#000000',
  },
}
SCSS
$custom: #8d8afa;
$custom-light: #b3acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8afa",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 241.607,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68612,
    "c": 0.16161,
    "h": 282.5
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

primary
#8D8AFA
secondary
#F5F6D5
accent
#E600DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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