#8F7DF5#8F7DF5

#8F7DF5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.1% C 0.173 H 287.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F7DF5
RGBrgb(143, 125, 245)
HSLhsl(249, 86%, 73%)
HSVhsv(249, 49%, 96%)
CMYKcmyk(41.6%, 49%, 0%, 3.9%)
CIE-LABlab(59.07, 35.30, -58.10)
CIE-LCHlch(59.07, 67.98, 301.28°)
OKLaboklab(66.13% 0.0522 -0.1648)
OKLCHoklch(66.13% 0.173 287.6)
XYZxyz(35.1381, 27.0982, 89.7476)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7DF5 #E3F57D
analogous
#7DA7F5 #8F7DF5 #CB7DF5
triadic
#8F7DF5 #F58F7D #7DF58F
tetradic
#8F7DF5 #F57DA7 #E3F57D #7DF5CB
square
#8F7DF5 #F57DA7 #E3F57D #7DF5CB
split-complementary
#8F7DF5 #F5CB7D #A7F57D
monochromatic
#3212E6 #5E44F1 #8F7DF5 #C0B6F9 #E7E3FD

Accessibility & contrast

On white

3.27
#8F7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8F7DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7DF5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7DF5#FFFFFF#000000##000000
##8F7DF51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#7196AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f7df5;
/* rgb */ color: rgb(143, 125, 245);
/* oklch */ color: oklch(66.1% 0.173 287.6);
Tailwind
colors: {
  custom: {
    50: '#b5a3f9',
    500: '#8f7df5',
    950: '#000000',
  },
}
SCSS
$custom: #8f7df5;
$custom-light: #b5a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7df5",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 249,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66134,
    "c": 0.17284,
    "h": 287.6
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#8F7DF5
secondary
#F0F5D6
accent
#E203C1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #8F7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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