#8F7EF7#8F7EF7

#8F7EF7 is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.4% C 0.174 H 287.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F7EF7
RGBrgb(143, 126, 247)
HSLhsl(248, 88%, 73%)
HSVhsv(248, 49%, 97%)
CMYKcmyk(42.1%, 49%, 0%, 3.1%)
CIE-LABlab(59.41, 35.27, -58.65)
CIE-LCHlch(59.41, 68.44, 301.02°)
OKLaboklab(66.43% 0.0512 -0.1664)
OKLCHoklch(66.43% 0.174 287.1)
XYZxyz(35.5723, 27.4754, 91.4067)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EF7 #E6F77E
analogous
#7EA9F7 #8F7EF7 #CB7EF7
triadic
#8F7EF7 #F78F7E #7EF78F
tetradic
#8F7EF7 #F77EA9 #E6F77E #7EF7CB
square
#8F7EF7 #F77EA9 #E6F77E #7EF7CB
split-complementary
#8F7EF7 #F7CB7E #A9F77E
monochromatic
#2E0FEC #5D44F3 #8F7EF7 #C1B8FB #E6E2FD

Accessibility & contrast

On white

3.23
#8F7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8F7EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EF7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EF7#FFFFFF#000000##000000
##8F7EF71.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#4A8CF4
Tritanopia (blue-blind)
#7097AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f7ef7;
/* rgb */ color: rgb(143, 126, 247);
/* oklch */ color: oklch(66.4% 0.174 287.1);
Tailwind
colors: {
  custom: {
    50: '#b5a3fa',
    500: '#8f7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ef7;
$custom-light: #b5a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ef7",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 248.43,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.17409,
    "h": 287.1
  },
  "luminance": 0.27477
}

Semantic roles & 50–950 ramp

primary
#8F7EF7
secondary
#F1F5D6
accent
#E501C5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #8F7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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