#8F8FE2#8F8FE2

#8F8FE2 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.4% C 0.121 H 282.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8F8FE2
RGBrgb(143, 143, 226)
HSLhsl(240, 59%, 72%)
HSVhsv(240, 37%, 89%)
CMYKcmyk(36.7%, 36.7%, 0%, 11.4%)
CIE-LABlab(62.49, 19.65, -42.15)
CIE-LCHlch(62.49, 46.51, 294.99°)
OKLaboklab(68.41% 0.0267 -0.1181)
OKLCHoklch(68.41% 0.121 282.7)
XYZxyz(34.8738, 30.9743, 76.0779)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8FE2 #E2E28F
analogous
#8FB9E2 #8F8FE2 #B98FE2
triadic
#8F8FE2 #E28F8F #8FE28F
tetradic
#8F8FE2 #E28FB9 #E2E28F #8FE2B9
square
#8F8FE2 #E28FB9 #E2E28F #8FE2B9
split-complementary
#8F8FE2 #E2B98F #B9E28F
monochromatic
#3333C4 #5E5ED5 #8F8FE2 #C0C0EF #E7E7F9

Accessibility & contrast

On white

2.92
#8F8FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#8F8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8FE2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8FE2#FFFFFF#000000##000000
##8F8FE21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#789FAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f8fe2;
/* rgb */ color: rgb(143, 143, 226);
/* oklch */ color: oklch(68.4% 0.121 282.7);
Tailwind
colors: {
  custom: {
    50: '#b2afeb',
    500: '#8f8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #8f8fe2;
$custom-light: #b2afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8fe2",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.12112,
    "h": 282.7
  },
  "luminance": 0.30976
}

Semantic roles & 50–950 ramp

primary
#8F8FE2
secondary
#F0F0DB
accent
#C61FC6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8F8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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