#8F7BF8#8F7BF8

#8F7BF8 is a light, vivid blue. Relative luminance 0.268; OKLCH L 66.0% C 0.180 H 287.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8F7BF8
RGBrgb(143, 123, 248)
HSLhsl(250, 90%, 73%)
HSVhsv(250, 50%, 97%)
CMYKcmyk(42.3%, 50.4%, 0%, 2.7%)
CIE-LABlab(58.77, 37.28, -60.23)
CIE-LCHlch(58.77, 70.83, 301.76°)
OKLaboklab(65.97% 0.0549 -0.171)
OKLCHoklch(65.97% 0.18 287.8)
XYZxyz(35.3491, 26.7816, 92.0956)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BF8 #E4F87B
analogous
#7BA5F8 #8F7BF8 #CD7BF8
triadic
#8F7BF8 #F88F7B #7BF88F
tetradic
#8F7BF8 #F87BA5 #E4F87B #7BF8CD
square
#8F7BF8 #F87BA5 #E4F87B #7BF8CD
split-complementary
#8F7BF8 #F8CD7B #A5F87B
monochromatic
#300DEC #5E41F5 #8F7BF8 #C0B5FB #E6E2FD

Accessibility & contrast

On white

3.30
#8F7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8F7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BF8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BF8#FFFFFF#000000##000000
##8F7BF81.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#448AF5
Tritanopia (blue-blind)
#7095AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f7bf8;
/* rgb */ color: rgb(143, 123, 248);
/* oklch */ color: oklch(66.0% 0.180 287.8);
Tailwind
colors: {
  custom: {
    50: '#b5a1fb',
    500: '#8f7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bf8;
$custom-light: #b5a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bf8",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 249.6,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65969,
    "c": 0.17959,
    "h": 287.8
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#8F7BF8
secondary
#F0F6D5
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #8F7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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