#8F7DF7#8F7DF7

#8F7DF7 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.3% C 0.175 H 287.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F7DF7
RGBrgb(143, 125, 247)
HSLhsl(249, 88%, 73%)
HSVhsv(249, 49%, 97%)
CMYKcmyk(42.1%, 49.4%, 0%, 3.1%)
CIE-LABlab(59.18, 35.85, -59.02)
CIE-LCHlch(59.18, 69.06, 301.27°)
OKLaboklab(66.26% 0.0524 -0.1675)
OKLCHoklch(66.26% 0.175 287.4)
XYZxyz(35.4451, 27.2210, 91.3642)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DF7 #E5F77D
analogous
#7DA8F7 #8F7DF7 #CC7DF7
triadic
#8F7DF7 #F78F7D #7DF78F
tetradic
#8F7DF7 #F77DA8 #E5F77D #7DF7CC
square
#8F7DF7 #F77DA8 #E5F77D #7DF7CC
split-complementary
#8F7DF7 #F7CC7D #A8F77D
monochromatic
#2F0EEB #5D43F3 #8F7DF7 #C1B7FB #E6E2FD

Accessibility & contrast

On white

3.26
#8F7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8F7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DF7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DF7#FFFFFF#000000##000000
##8F7DF71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#7096AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7df7;
/* rgb */ color: rgb(143, 125, 247);
/* oklch */ color: oklch(66.3% 0.175 287.4);
Tailwind
colors: {
  custom: {
    50: '#b5a3fa',
    500: '#8f7df7',
    950: '#000000',
  },
}
SCSS
$custom: #8f7df7;
$custom-light: #b5a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7df7",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 248.852,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66255,
    "c": 0.17549,
    "h": 287.4
  },
  "luminance": 0.27222
}

Semantic roles & 50–950 ramp

primary
#8F7DF7
secondary
#F1F5D6
accent
#E500C3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #8F7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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