#8781F7#8781F7

#8781F7 is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.3% C 0.171 H 283.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8781F7
RGBrgb(135, 129, 247)
HSLhsl(243, 88%, 74%)
HSVhsv(243, 48%, 97%)
CMYKcmyk(45.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(59.49, 31.69, -58.55)
CIE-LCHlch(59.49, 66.58, 298.43°)
OKLaboklab(66.34% 0.0384 -0.1663)
OKLCHoklch(66.34% 0.171 283)
XYZxyz(34.6255, 27.5652, 91.4738)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8781F7 #F1F781
analogous
#81B6F7 #8781F7 #C281F7
triadic
#8781F7 #F78781 #81F787
tetradic
#8781F7 #F781B6 #F1F781 #81F7C2
square
#8781F7 #F781B6 #F1F781 #81F7C2
split-complementary
#8781F7 #F7C281 #B6F781
monochromatic
#1A0FEE #5047F3 #8781F7 #BEBBFB #E4E2FD

Accessibility & contrast

On white

3.22
#8781F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#8781F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8781F7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8781F7#FFFFFF#000000##000000
##8781F71.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#629AB0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8781f7;
/* rgb */ color: rgb(135, 129, 247);
/* oklch */ color: oklch(66.3% 0.171 283.0);
Tailwind
colors: {
  custom: {
    50: '#b0a5fa',
    500: '#8781f7',
    950: '#000000',
  },
}
SCSS
$custom: #8781f7;
$custom-light: #b0a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8781f7",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 243.051,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.17066,
    "h": 283
  },
  "luminance": 0.27567
}

Semantic roles & 50–950 ramp

primary
#8781F7
secondary
#F4F5D6
accent
#E501D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8781F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8781F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva