#8381CB#8381CB

#8381CB is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.6% C 0.110 H 284.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8381CB
RGBrgb(131, 129, 203)
HSLhsl(242, 42%, 65%)
HSVhsv(242, 36%, 80%)
CMYKcmyk(35.5%, 36.5%, 0%, 20.4%)
CIE-LABlab(56.92, 18.35, -38.08)
CIE-LCHlch(56.92, 42.27, 295.73°)
OKLaboklab(63.56% 0.0267 -0.1066)
OKLCHoklch(63.56% 0.11 284)
XYZxyz(27.9868, 24.8367, 59.8077)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8381CB #C9CB81
analogous
#81A4CB #8381CB #A881CB
triadic
#8381CB #CB8381 #81CB83
tetradic
#8381CB #CB81A4 #C9CB81 #81CBA8
square
#8381CB #CB81A4 #C9CB81 #81CBA8
split-complementary
#8381CB #CBA881 #A4CB81
monochromatic
#403D94 #5856B9 #8381CB #AEACDD #D8D8EF

Accessibility & contrast

On white

3.52
#8381CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8381CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8381CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8381CB#FFFFFF#000000##000000
##8381CB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#708F9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8381cb;
/* rgb */ color: rgb(131, 129, 203);
/* oklch */ color: oklch(63.6% 0.110 284.0);
Tailwind
colors: {
  custom: {
    50: '#a9a5db',
    500: '#8381cb',
    950: '#000000',
  },
}
SCSS
$custom: #8381cb;
$custom-light: #a9a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#8381cb",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 241.622,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63562,
    "c": 0.10988,
    "h": 284
  },
  "luminance": 0.24838
}

Semantic roles & 50–950 ramp

primary
#8381CB
secondary
#E0E0C7
accent
#B531B1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8381CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8381CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva