#9181F7#9181F7

#9181F7 is a light, vivid blue. Relative luminance 0.284; OKLCH L 67.1% C 0.170 H 287.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9181F7
RGBrgb(145, 129, 247)
HSLhsl(248, 88%, 74%)
HSVhsv(248, 48%, 97%)
CMYKcmyk(41.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(60.28, 34.01, -57.25)
CIE-LCHlch(60.28, 66.60, 300.71°)
OKLaboklab(67.12% 0.05 -0.1622)
OKLCHoklch(67.12% 0.17 287.1)
XYZxyz(36.3111, 28.4343, 91.5528)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9181F7 #E7F781
analogous
#81ACF7 #9181F7 #CC81F7
triadic
#9181F7 #F79181 #81F791
tetradic
#9181F7 #F781AC #E7F781 #81F7CC
square
#9181F7 #F781AC #E7F781 #81F7CC
split-complementary
#9181F7 #F7CC81 #ACF781
monochromatic
#2D0FEE #5F47F3 #9181F7 #C3BBFB #E6E2FD

Accessibility & contrast

On white

3.14
#9181F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9181F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9181F7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9181F7#FFFFFF#000000##000000
##9181F71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#7399B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9181f7;
/* rgb */ color: rgb(145, 129, 247);
/* oklch */ color: oklch(67.1% 0.170 287.1);
Tailwind
colors: {
  custom: {
    50: '#b6a6fa',
    500: '#9181f7',
    950: '#000000',
  },
}
SCSS
$custom: #9181f7;
$custom-light: #b6a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9181f7",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 248.136,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67121,
    "c": 0.16974,
    "h": 287.1
  },
  "luminance": 0.28436
}

Semantic roles & 50–950 ramp

primary
#9181F7
secondary
#F1F5D6
accent
#E501C6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9181F7

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

Preview Lab → · Contrast checker → · Palette generator →

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