#8F7AFE#8F7AFE

#8F7AFE is a light, vivid blue. Relative luminance 0.269; OKLCH L 66.2% C 0.189 H 287.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8F7AFE
RGBrgb(143, 122, 254)
HSLhsl(250, 99%, 74%)
HSVhsv(250, 52%, 100%)
CMYKcmyk(43.7%, 52%, 0%, 0.4%)
CIE-LABlab(58.89, 39.52, -63.34)
CIE-LCHlch(58.89, 74.66, 301.96°)
OKLaboklab(66.17% 0.0564 -0.1802)
OKLCHoklch(66.17% 0.189 287.4)
XYZxyz(36.1715, 26.9131, 97.0356)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AFE #E9FE7A
analogous
#7AA7FE #8F7AFE #D17AFE
triadic
#8F7AFE #FE8F7A #7AFE8F
tetradic
#8F7AFE #FE7AA7 #E9FE7A #7AFED1
square
#8F7AFE #FE7AA7 #E9FE7A #7AFED1
split-complementary
#8F7AFE #FED17A #A7FE7A
monochromatic
#2A02FC #5C3DFE #8F7AFE #C2B7FE #E5E1FF

Accessibility & contrast

On white

3.29
#8F7AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8F7AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7AFE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7AFE#FFFFFF#000000##000000
##8F7AFE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#6D96B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7afe;
/* rgb */ color: rgb(143, 122, 254);
/* oklch */ color: oklch(66.2% 0.189 287.4);
Tailwind
colors: {
  custom: {
    50: '#b6a1ff',
    500: '#8f7afe',
    950: '#000000',
  },
}
SCSS
$custom: #8f7afe;
$custom-light: #b6a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7afe",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 249.545,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.18878,
    "h": 287.4
  },
  "luminance": 0.26914
}

Semantic roles & 50–950 ramp

primary
#8F7AFE
secondary
#F1F7D4
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #8F7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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