#8581EC#8581EC

#8581EC is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.5% C 0.156 H 282.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8581EC
RGBrgb(133, 129, 236)
HSLhsl(242, 74%, 72%)
HSVhsv(242, 45%, 93%)
CMYKcmyk(43.6%, 45.3%, 0%, 7.5%)
CIE-LABlab(58.73, 28.08, -53.69)
CIE-LCHlch(58.73, 60.58, 297.61°)
OKLaboklab(65.53% 0.0348 -0.1521)
OKLCHoklch(65.53% 0.156 282.9)
XYZxyz(32.6590, 26.7418, 82.7815)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8581EC #E8EC81
analogous
#81B3EC #8581EC #BB81EC
triadic
#8581EC #EC8581 #81EC85
tetradic
#8581EC #EC81B3 #E8EC81 #81ECBB
square
#8581EC #EC81B3 #E8EC81 #81ECBB
split-complementary
#8581EC #ECBB81 #B3EC81
monochromatic
#2620D3 #524CE4 #8581EC #B8B6F4 #E5E4FB

Accessibility & contrast

On white

3.31
#8581EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8581EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8581EC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8581EC#FFFFFF#000000##000000
##8581EC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#6497AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8581ec;
/* rgb */ color: rgb(133, 129, 236);
/* oklch */ color: oklch(65.5% 0.156 282.9);
Tailwind
colors: {
  custom: {
    50: '#ada5f3',
    500: '#8581ec',
    950: '#000000',
  },
}
SCSS
$custom: #8581ec;
$custom-light: #ada5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8581ec",
  "rgb": {
    "r": 133,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 242.243,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.15599,
    "h": 282.9
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#8581EC
secondary
#F1F2D7
accent
#D610CE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8581EC

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

Preview Lab → · Contrast checker → · Palette generator →

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