#8F8FE1#8F8FE1

#8F8FE1 is a light, moderate blue. Relative luminance 0.309; OKLCH L 68.4% C 0.120 H 282.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F8FE1
RGBrgb(143, 143, 225)
HSLhsl(240, 58%, 72%)
HSVhsv(240, 36%, 88%)
CMYKcmyk(36.4%, 36.4%, 0%, 11.8%)
CIE-LABlab(62.44, 19.38, -41.67)
CIE-LCHlch(62.44, 45.96, 294.94°)
OKLaboklab(68.36% 0.0265 -0.1167)
OKLCHoklch(68.36% 0.12 282.8)
XYZxyz(34.7369, 30.9196, 75.3574)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8FE1 #E1E18F
analogous
#8FB8E1 #8F8FE1 #B88FE1
triadic
#8F8FE1 #E18F8F #8FE18F
tetradic
#8F8FE1 #E18FB8 #E1E18F #8FE1B8
square
#8F8FE1 #E18FB8 #E1E18F #8FE1B8
split-complementary
#8F8FE1 #E1B88F #B8E18F
monochromatic
#3434C2 #5F5FD4 #8F8FE1 #BFBFEE #E7E7F9

Accessibility & contrast

On white

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

On black

7.18
#8F8FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8FE1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8FE1#FFFFFF#000000##000000
##8F8FE11.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE4
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#789FAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f8fe1;
/* rgb */ color: rgb(143, 143, 225);
/* oklch */ color: oklch(68.4% 0.120 282.8);
Tailwind
colors: {
  custom: {
    50: '#b2afea',
    500: '#8f8fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8f8fe1;
$custom-light: #b2afea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8fe1",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 225
  },
  "hsl": {
    "h": 240,
    "s": 57.746,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.11971,
    "h": 282.8
  },
  "luminance": 0.30921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F8FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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