#8F8AEF#8F8AEF

#8F8AEF is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.1% C 0.146 H 284.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8F8AEF
RGBrgb(143, 138, 239)
HSLhsl(243, 76%, 74%)
HSVhsv(243, 42%, 94%)
CMYKcmyk(40.2%, 42.3%, 0%, 6.3%)
CIE-LABlab(61.87, 26.10, -50.32)
CIE-LCHlch(61.87, 56.69, 297.42°)
OKLaboklab(68.15% 0.0355 -0.142)
OKLCHoklch(68.15% 0.146 284.1)
XYZxyz(35.9917, 30.2472, 85.5865)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8AEF #EAEF8A
analogous
#8AB8EF #8F8AEF #C28AEF
triadic
#8F8AEF #EF8F8A #8AEF8F
tetradic
#8F8AEF #EF8AB8 #EAEF8A #8AEFC2
square
#8F8AEF #EF8AB8 #EAEF8A #8AEFC2
split-complementary
#8F8AEF #EFC28A #B8EF8A
monochromatic
#281FE0 #5B54E8 #8F8AEF #C3C0F6 #E5E4FB

Accessibility & contrast

On white

2.98
#8F8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8F8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8AEF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8AEF#FFFFFF#000000##000000
##8F8AEF1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6292ED
Tritanopia (blue-blind)
#739EB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f8aef;
/* rgb */ color: rgb(143, 138, 239);
/* oklch */ color: oklch(68.1% 0.146 284.1);
Tailwind
colors: {
  custom: {
    50: '#b4acf5',
    500: '#8f8aef',
    950: '#000000',
  },
}
SCSS
$custom: #8f8aef;
$custom-light: #b4acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8aef",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 242.97,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.14634,
    "h": 284.1
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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