#8F7AFB#8F7AFB

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

Color values

HEX#8F7AFB
RGBrgb(143, 122, 251)
HSLhsl(250, 94%, 73%)
HSVhsv(250, 51%, 98%)
CMYKcmyk(43%, 51.4%, 0%, 1.6%)
CIE-LABlab(58.72, 38.68, -61.97)
CIE-LCHlch(58.72, 73.05, 301.97°)
OKLaboklab(65.98% 0.0562 -0.1761)
OKLCHoklch(65.98% 0.185 287.7)
XYZxyz(35.6949, 26.7224, 94.5253)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AFB #E6FB7A
analogous
#7AA6FB #8F7AFB #CF7AFB
triadic
#8F7AFB #FB8F7A #7AFB8F
tetradic
#8F7AFB #FB7AA6 #E6FB7A #7AFBCF
square
#8F7AFB #FB7AA6 #E6FB7A #7AFBCF
split-complementary
#8F7AFB #FBCF7A #A6FB7A
monochromatic
#2E07F3 #5D3FF9 #8F7AFB #C1B5FD #E6E1FE

Accessibility & contrast

On white

3.31
#8F7AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8F7AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7AFB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7AFB#FFFFFF#000000##000000
##8F7AFB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#3E8AF8
Tritanopia (blue-blind)
#6F95AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f7afb;
/* rgb */ color: rgb(143, 122, 251);
/* oklch */ color: oklch(66.0% 0.185 287.7);
Tailwind
colors: {
  custom: {
    50: '#b5a1fd',
    500: '#8f7afb',
    950: '#000000',
  },
}
SCSS
$custom: #8f7afb;
$custom-light: #b5a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7afb",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 249.767,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65984,
    "c": 0.1849,
    "h": 287.7
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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