#8F7BF9#8F7BF9

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

Color values

HEX#8F7BF9
RGBrgb(143, 123, 249)
HSLhsl(250, 91%, 73%)
HSVhsv(250, 51%, 98%)
CMYKcmyk(42.6%, 50.6%, 0%, 2.4%)
CIE-LABlab(58.83, 37.56, -60.69)
CIE-LCHlch(58.83, 71.37, 301.75°)
OKLaboklab(66.03% 0.0549 -0.1724)
OKLCHoklch(66.03% 0.181 287.7)
XYZxyz(35.5047, 26.8438, 92.9148)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BF9 #E5F97B
analogous
#7BA6F9 #8F7BF9 #CE7BF9
triadic
#8F7BF9 #F98F7B #7BF98F
tetradic
#8F7BF9 #F97BA6 #E5F97B #7BF9CE
square
#8F7BF9 #F97BA6 #E5F97B #7BF9CE
split-complementary
#8F7BF9 #F9CE7B #A6F97B
monochromatic
#2F0BEF #5D40F6 #8F7BF9 #C1B6FC #E6E2FE

Accessibility & contrast

On white

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

On black

6.37
#8F7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BF9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BF9#FFFFFF#000000##000000
##8F7BF91.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FD
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#6F95AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7bf9;
/* rgb */ color: rgb(143, 123, 249);
/* oklch */ color: oklch(66.0% 0.181 287.7);
Tailwind
colors: {
  custom: {
    50: '#b5a1fc',
    500: '#8f7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bf9;
$custom-light: #b5a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bf9",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 249.524,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.1809,
    "h": 287.7
  },
  "luminance": 0.26845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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