#8F7BFE#8F7BFE

#8F7BFE is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.3% C 0.187 H 287.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F7BFE
RGBrgb(143, 123, 254)
HSLhsl(249, 98%, 74%)
HSVhsv(249, 52%, 100%)
CMYKcmyk(43.7%, 51.6%, 0%, 0.4%)
CIE-LABlab(59.12, 38.95, -62.97)
CIE-LCHlch(59.12, 74.04, 301.74°)
OKLaboklab(66.34% 0.0553 -0.1791)
OKLCHoklch(66.34% 0.187 287.1)
XYZxyz(36.2949, 27.1599, 97.0767)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BFE #EAFE7B
analogous
#7BA9FE #8F7BFE #D17BFE
triadic
#8F7BFE #FE8F7B #7BFE8F
tetradic
#8F7BFE #FE7BA9 #EAFE7B #7BFED1
square
#8F7BFE #FE7BA9 #EAFE7B #7BFED1
split-complementary
#8F7BFE #FED17B #A9FE7B
monochromatic
#2802FD #5B3EFE #8F7BFE #C3B8FE #E5E1FF

Accessibility & contrast

On white

3.26
#8F7BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8F7BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BFE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BFE#FFFFFF#000000##000000
##8F7BFE1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#3C8BFB
Tritanopia (blue-blind)
#6D97B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7bfe;
/* rgb */ color: rgb(143, 123, 254);
/* oklch */ color: oklch(66.3% 0.187 287.1);
Tailwind
colors: {
  custom: {
    50: '#b6a1ff',
    500: '#8f7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bfe;
$custom-light: #b6a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bfe",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 249.16,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66344,
    "c": 0.18741,
    "h": 287.1
  },
  "luminance": 0.27161
}

Semantic roles & 50–950 ramp

primary
#8F7BFE
secondary
#F2F7D4
accent
#E600C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #8F7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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