#8F8DFD#8F8DFD

#8F8DFD is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.5% C 0.161 H 282.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8F8DFD
RGBrgb(143, 141, 253)
HSLhsl(241, 97%, 77%)
HSVhsv(241, 44%, 99%)
CMYKcmyk(43.5%, 44.3%, 0%, 0.8%)
CIE-LABlab(63.33, 28.28, -55.71)
CIE-LCHlch(63.33, 62.47, 296.91°)
OKLaboklab(69.49% 0.034 -0.1577)
OKLCHoklch(69.49% 0.161 282.2)
XYZxyz(38.5770, 31.9795, 97.0495)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8DFD #FBFD8D
analogous
#8DC3FD #8F8DFD #C78DFD
triadic
#8F8DFD #FD8F8D #8DFD8F
tetradic
#8F8DFD #FD8DC3 #FBFD8D #8DFDC7
square
#8F8DFD #FD8DC3 #FBFD8D #8DFDC7
split-complementary
#8F8DFD #FDC78D #C3FD8D
monochromatic
#1915FB #5451FC #8F8DFD #CAC9FE #E1E1FE

Accessibility & contrast

On white

2.84
#8F8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#8F8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F8DFD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8DFD#FFFFFF#000000##000000
##8F8DFD1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#6CA4B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8f8dfd;
/* rgb */ color: rgb(143, 141, 253);
/* oklch */ color: oklch(69.5% 0.161 282.2);
Tailwind
colors: {
  custom: {
    50: '#b5aefe',
    500: '#8f8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8f8dfd;
$custom-light: #b5aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8dfd",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 241.071,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.69488,
    "c": 0.16131,
    "h": 282.2
  },
  "luminance": 0.31981
}

Semantic roles & 50–950 ramp

primary
#8F8DFD
secondary
#F6F7D4
accent
#E600E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #8F8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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