#9181EB#9181EB

#9181EB is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.4% C 0.154 H 288.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9181EB
RGBrgb(145, 129, 235)
HSLhsl(249, 73%, 71%)
HSVhsv(249, 45%, 92%)
CMYKcmyk(38.3%, 45.1%, 0%, 7.8%)
CIE-LABlab(59.63, 30.73, -51.64)
CIE-LCHlch(59.63, 60.10, 300.75°)
OKLaboklab(66.43% 0.0486 -0.1458)
OKLCHoklch(66.43% 0.154 288.4)
XYZxyz(34.5186, 27.7174, 82.1124)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9181EB #DBEB81
analogous
#81A6EB #9181EB #C681EB
triadic
#9181EB #EB9181 #81EB91
tetradic
#9181EB #EB81A6 #DBEB81 #81EBC6
square
#9181EB #EB81A6 #DBEB81 #81EBC6
split-complementary
#9181EB #EBC681 #A6EB81
monochromatic
#3C21D1 #634CE3 #9181EB #BFB6F3 #E8E5FB

Accessibility & contrast

On white

3.21
#9181EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9181EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9181EB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9181EB#FFFFFF#000000##000000
##9181EB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#7996AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9181eb;
/* rgb */ color: rgb(145, 129, 235);
/* oklch */ color: oklch(66.4% 0.154 288.4);
Tailwind
colors: {
  custom: {
    50: '#b5a5f2',
    500: '#9181eb',
    950: '#000000',
  },
}
SCSS
$custom: #9181eb;
$custom-light: #b5a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9181eb",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 249.057,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66425,
    "c": 0.15366,
    "h": 288.4
  },
  "luminance": 0.27718
}

Semantic roles & 50–950 ramp

primary
#9181EB
secondary
#EEF2D6
accent
#D511B7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #9181EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9181EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva