#8F7DFD#8F7DFD

#8F7DFD is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.6% C 0.183 H 286.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F7DFD
RGBrgb(143, 125, 253)
HSLhsl(248, 97%, 74%)
HSVhsv(248, 51%, 99%)
CMYKcmyk(43.5%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.52, 37.52, -61.78)
CIE-LCHlch(59.52, 72.28, 301.27°)
OKLaboklab(66.62% 0.0529 -0.1756)
OKLCHoklch(66.62% 0.183 286.8)
XYZxyz(36.3859, 27.5973, 96.3191)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DFD #EBFD7D
analogous
#7DABFD #8F7DFD #CF7DFD
triadic
#8F7DFD #FD8F7D #7DFD8F
tetradic
#8F7DFD #FD7DAB #EBFD7D #7DFDCF
square
#8F7DFD #FD7DAB #EBFD7D #7DFDCF
split-complementary
#8F7DFD #FDCF7D #ABFD7D
monochromatic
#2704FB #5B41FC #8F7DFD #C3B9FE #E5E1FF

Accessibility & contrast

On white

3.22
#8F7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8F7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DFD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DFD#FFFFFF#000000##000000
##8F7DFD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#418CFA
Tritanopia (blue-blind)
#6D98B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f7dfd;
/* rgb */ color: rgb(143, 125, 253);
/* oklch */ color: oklch(66.6% 0.183 286.8);
Tailwind
colors: {
  custom: {
    50: '#b5a3ff',
    500: '#8f7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8f7dfd;
$custom-light: #b5a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7dfd",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 248.438,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66624,
    "c": 0.18336,
    "h": 286.8
  },
  "luminance": 0.27599
}

Semantic roles & 50–950 ramp

primary
#8F7DFD
secondary
#F2F7D4
accent
#E600C5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8F7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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