#8781FA#8781FA

#8781FA is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.5% C 0.175 H 282.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8781FA
RGBrgb(135, 129, 250)
HSLhsl(243, 92%, 74%)
HSVhsv(243, 48%, 98%)
CMYKcmyk(46%, 48.4%, 0%, 2%)
CIE-LABlab(59.66, 32.56, -59.94)
CIE-LCHlch(59.66, 68.21, 298.51°)
OKLaboklab(66.52% 0.0387 -0.1703)
OKLCHoklch(66.52% 0.175 282.8)
XYZxyz(35.0921, 27.7519, 93.9315)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8781FA #F4FA81
analogous
#81B8FA #8781FA #C481FA
triadic
#8781FA #FA8781 #81FA87
tetradic
#8781FA #FA81B8 #F4FA81 #81FAC4
square
#8781FA #FA81B8 #F4FA81 #81FAC4
split-complementary
#8781FA #FAC481 #B8FA81
monochromatic
#170BF5 #4F46F8 #8781FA #BFBCFC #E3E2FE

Accessibility & contrast

On white

3.21
#8781FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8781FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8781FA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8781FA#FFFFFF#000000##000000
##8781FA1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#458CF7
Tritanopia (blue-blind)
#609BB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8781fa;
/* rgb */ color: rgb(135, 129, 250);
/* oklch */ color: oklch(66.5% 0.175 282.8);
Tailwind
colors: {
  custom: {
    50: '#b0a5fc',
    500: '#8781fa',
    950: '#000000',
  },
}
SCSS
$custom: #8781fa;
$custom-light: #b0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8781fa",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 242.975,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66519,
    "c": 0.17468,
    "h": 282.8
  },
  "luminance": 0.27754
}

Semantic roles & 50–950 ramp

primary
#8781FA
secondary
#F4F6D5
accent
#E600DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8781FA

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

Preview Lab → · Contrast checker → · Palette generator →

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