#8181F8#8181F8

#8181F8 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.0% C 0.173 H 280.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8181F8
RGBrgb(129, 129, 248)
HSLhsl(240, 89%, 74%)
HSVhsv(240, 48%, 97%)
CMYKcmyk(48%, 48%, 0%, 2.7%)
CIE-LABlab(59.11, 30.65, -59.75)
CIE-LCHlch(59.11, 67.15, 297.16°)
OKLaboklab(65.95% 0.0317 -0.1699)
OKLCHoklch(65.95% 0.173 280.6)
XYZxyz(33.8416, 27.1432, 92.2447)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8181F8 #F8F881
analogous
#81BDF8 #8181F8 #BD81F8
triadic
#8181F8 #F88181 #81F881
tetradic
#8181F8 #F881BD #F8F881 #81F8BD
square
#8181F8 #F881BD #F8F881 #81F8BD
split-complementary
#8181F8 #F8BD81 #BDF881
monochromatic
#0D0DF1 #4747F5 #8181F8 #BBBBFB #E2E2FD

Accessibility & contrast

On white

3.27
#8181F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8181F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8181F8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8181F8#FFFFFF#000000##000000
##8181F81.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#438AF5
Tritanopia (blue-blind)
#559BB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8181f8;
/* rgb */ color: rgb(129, 129, 248);
/* oklch */ color: oklch(66.0% 0.173 280.6);
Tailwind
colors: {
  custom: {
    50: '#aca5fb',
    500: '#8181f8',
    950: '#000000',
  },
}
SCSS
$custom: #8181f8;
$custom-light: #aca5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8181f8",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.17288,
    "h": 280.6
  },
  "luminance": 0.27145
}

Semantic roles & 50–950 ramp

primary
#8181F8
secondary
#F5F5D6
accent
#E600E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8181F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8181F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva