#9181EA#9181EA

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

Color values

HEX#9181EA
RGBrgb(145, 129, 234)
HSLhsl(249, 71%, 71%)
HSVhsv(249, 45%, 92%)
CMYKcmyk(38%, 44.9%, 0%, 8.2%)
CIE-LABlab(59.58, 30.46, -51.17)
CIE-LCHlch(59.58, 59.55, 300.76°)
OKLaboklab(66.37% 0.0484 -0.1444)
OKLCHoklch(66.37% 0.152 288.5)
XYZxyz(34.3745, 27.6597, 81.3537)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9181EA #DAEA81
analogous
#81A5EA #9181EA #C581EA
triadic
#9181EA #EA9181 #81EA91
tetradic
#9181EA #EA81A5 #DAEA81 #81EAC5
square
#9181EA #EA81A5 #DAEA81 #81EAC5
split-complementary
#9181EA #EAC581 #A5EA81
monochromatic
#3D22CE #634DE1 #9181EA #BFB5F3 #E8E5FB

Accessibility & contrast

On white

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

On black

6.53
#9181EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9181EA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9181EA#FFFFFF#000000##000000
##9181EA1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#7996AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9181ea;
/* rgb */ color: rgb(145, 129, 234);
/* oklch */ color: oklch(66.4% 0.152 288.5);
Tailwind
colors: {
  custom: {
    50: '#b5a5f1',
    500: '#9181ea',
    950: '#000000',
  },
}
SCSS
$custom: #9181ea;
$custom-light: #b5a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9181ea",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 249.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66368,
    "c": 0.15231,
    "h": 288.5
  },
  "luminance": 0.27661
}

Semantic roles & 50–950 ramp

primary
#9181EA
secondary
#EDF1D6
accent
#D312B6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #9181EA

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

Preview Lab → · Contrast checker → · Palette generator →

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