#8F7BFB#8F7BFB

#8F7BFB is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.2% C 0.184 H 287.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F7BFB
RGBrgb(143, 123, 251)
HSLhsl(249, 94%, 73%)
HSVhsv(249, 51%, 98%)
CMYKcmyk(43%, 51%, 0%, 1.6%)
CIE-LABlab(58.95, 38.11, -61.60)
CIE-LCHlch(58.95, 72.44, 301.74°)
OKLaboklab(66.16% 0.0551 -0.1751)
OKLCHoklch(66.16% 0.184 287.5)
XYZxyz(35.8183, 26.9692, 94.5664)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BFB #E7FB7B
analogous
#7BA7FB #8F7BFB #CF7BFB
triadic
#8F7BFB #FB8F7B #7BFB8F
tetradic
#8F7BFB #FB7BA7 #E7FB7B #7BFBCF
square
#8F7BFB #FB7BA7 #E7FB7B #7BFBCF
split-complementary
#8F7BFB #FBCF7B #A7FB7B
monochromatic
#2C07F4 #5D40F9 #8F7BFB #C1B6FD #E6E1FE

Accessibility & contrast

On white

3.28
#8F7BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8F7BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BFB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BFB#FFFFFF#000000##000000
##8F7BFB1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#408AF8
Tritanopia (blue-blind)
#6E96AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7bfb;
/* rgb */ color: rgb(143, 123, 251);
/* oklch */ color: oklch(66.2% 0.184 287.5);
Tailwind
colors: {
  custom: {
    50: '#b5a1fd',
    500: '#8f7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bfb;
$custom-light: #b5a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bfb",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 249.375,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.18351,
    "h": 287.5
  },
  "luminance": 0.26971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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