#8581F7#8581F7

#8581F7 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.2% C 0.171 H 282.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8581F7
RGBrgb(133, 129, 247)
HSLhsl(242, 88%, 74%)
HSVhsv(242, 48%, 97%)
CMYKcmyk(46.2%, 47.8%, 0%, 3.1%)
CIE-LABlab(59.34, 31.24, -58.80)
CIE-LCHlch(59.34, 66.59, 297.98°)
OKLaboklab(66.19% 0.0361 -0.1671)
OKLCHoklch(66.19% 0.171 282.2)
XYZxyz(34.3066, 27.4008, 91.4589)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8581F7 #F3F781
analogous
#81B8F7 #8581F7 #C081F7
triadic
#8581F7 #F78581 #81F785
tetradic
#8581F7 #F781B8 #F3F781 #81F7C0
square
#8581F7 #F781B8 #F3F781 #81F7C0
split-complementary
#8581F7 #F7C081 #B8F781
monochromatic
#170FEE #4D47F3 #8581F7 #BDBBFB #E3E2FD

Accessibility & contrast

On white

3.24
#8581F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8581F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8581F7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8581F7#FFFFFF#000000##000000
##8581F71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#5E9AB0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8581f7;
/* rgb */ color: rgb(133, 129, 247);
/* oklch */ color: oklch(66.2% 0.171 282.2);
Tailwind
colors: {
  custom: {
    50: '#aea5fa',
    500: '#8581f7',
    950: '#000000',
  },
}
SCSS
$custom: #8581f7;
$custom-light: #aea5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8581f7",
  "rgb": {
    "r": 133,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 242.034,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66185,
    "c": 0.17093,
    "h": 282.2
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8581F7

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

Preview Lab → · Contrast checker → · Palette generator →

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