#8F8EF5#8F8EF5

#8F8EF5 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.2% C 0.149 H 282.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F8EF5
RGBrgb(143, 142, 245)
HSLhsl(241, 84%, 76%)
HSVhsv(241, 42%, 96%)
CMYKcmyk(41.6%, 42%, 0%, 3.9%)
CIE-LABlab(63.16, 25.45, -51.58)
CIE-LCHlch(63.16, 57.52, 296.26°)
OKLaboklab(69.23% 0.0316 -0.1456)
OKLCHoklch(69.23% 0.149 282.2)
XYZxyz(37.4773, 31.7766, 90.5273)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8EF5 #F4F58E
analogous
#8EC0F5 #8F8EF5 #C28EF5
triadic
#8F8EF5 #F58F8E #8EF58F
tetradic
#8F8EF5 #F58EC0 #F4F58E #8EF5C2
square
#8F8EF5 #F58EC0 #F4F58E #8EF5C2
split-complementary
#8F8EF5 #F5C28E #C0F58E
monochromatic
#201EEB #5756F0 #8F8EF5 #C7C6FA #E3E3FD

Accessibility & contrast

On white

2.85
#8F8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8F8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8EF5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8EF5#FFFFFF#000000##000000
##8F8EF51.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#70A3B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8f8ef5;
/* rgb */ color: rgb(143, 142, 245);
/* oklch */ color: oklch(69.2% 0.149 282.2);
Tailwind
colors: {
  custom: {
    50: '#b4aff9',
    500: '#8f8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #8f8ef5;
$custom-light: #b4aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8ef5",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 240.583,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69226,
    "c": 0.149,
    "h": 282.2
  },
  "luminance": 0.31778
}

Semantic roles & 50–950 ramp

primary
#8F8EF5
secondary
#F4F4D7
accent
#E005DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8F8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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