#8F7DF2#8F7DF2

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

Color values

HEX#8F7DF2
RGBrgb(143, 125, 242)
HSLhsl(249, 82%, 72%)
HSVhsv(249, 48%, 95%)
CMYKcmyk(40.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(58.90, 34.47, -56.71)
CIE-LCHlch(58.90, 66.36, 301.29°)
OKLaboklab(65.95% 0.052 -0.1607)
OKLCHoklch(65.95% 0.169 287.9)
XYZxyz(34.6838, 26.9165, 87.3551)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DF2 #E0F27D
analogous
#7DA6F2 #8F7DF2 #CA7DF2
triadic
#8F7DF2 #F28F7D #7DF28F
tetradic
#8F7DF2 #F27DA6 #E0F27D #7DF2CA
square
#8F7DF2 #F27DA6 #E0F27D #7DF2CA
split-complementary
#8F7DF2 #F2CA7D #A6F27D
monochromatic
#3516DE #5F45EC #8F7DF2 #BFB5F8 #E7E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7DF2#FFFFFF#000000##000000
##8F7DF21.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)
#4E90F6
Deuteranopia (green-blind)
#4D8BEF
Tritanopia (blue-blind)
#7395AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7df2;
/* rgb */ color: rgb(143, 125, 242);
/* oklch */ color: oklch(66.0% 0.169 287.9);
Tailwind
colors: {
  custom: {
    50: '#b4a3f7',
    500: '#8f7df2',
    950: '#000000',
  },
}
SCSS
$custom: #8f7df2;
$custom-light: #b4a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7df2",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 249.231,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65953,
    "c": 0.16887,
    "h": 287.9
  },
  "luminance": 0.26918
}

Semantic roles & 50–950 ramp

primary
#8F7DF2
secondary
#F0F4D7
accent
#DE07BD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8F7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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