#8F7BF5#8F7BF5

#8F7BF5 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.176 H 288.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8F7BF5
RGBrgb(143, 123, 245)
HSLhsl(250, 86%, 72%)
HSVhsv(250, 50%, 96%)
CMYKcmyk(41.6%, 49.8%, 0%, 3.9%)
CIE-LABlab(58.60, 36.45, -58.84)
CIE-LCHlch(58.60, 69.22, 301.77°)
OKLaboklab(65.79% 0.0546 -0.167)
OKLCHoklch(65.79% 0.176 288.1)
XYZxyz(34.8875, 26.5969, 89.6640)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BF5 #E1F57B
analogous
#7BA4F5 #8F7BF5 #CC7BF5
triadic
#8F7BF5 #F58F7B #7BF58F
tetradic
#8F7BF5 #F57BA4 #E1F57B #7BF5CC
square
#8F7BF5 #F57BA4 #E1F57B #7BF5CC
split-complementary
#8F7BF5 #F5CC7B #A4F57B
monochromatic
#3411E4 #5F42F1 #8F7BF5 #BFB4F9 #E7E3FD

Accessibility & contrast

On white

3.32
#8F7BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8F7BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BF5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BF5#FFFFFF#000000##000000
##8F7BF51.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#478AF2
Tritanopia (blue-blind)
#7194AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f7bf5;
/* rgb */ color: rgb(143, 123, 245);
/* oklch */ color: oklch(65.8% 0.176 288.1);
Tailwind
colors: {
  custom: {
    50: '#b5a1f9',
    500: '#8f7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bf5;
$custom-light: #b5a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bf5",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 249.836,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65785,
    "c": 0.17567,
    "h": 288.1
  },
  "luminance": 0.26598
}

Semantic roles & 50–950 ramp

primary
#8F7BF5
secondary
#F0F5D6
accent
#E203BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #8F7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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