#8A85B2#8A85B2

#8A85B2 is a light, moderate blue. Relative luminance 0.254; OKLCH L 63.8% C 0.067 H 289.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A85B2
RGBrgb(138, 133, 178)
HSLhsl(247, 23%, 61%)
HSVhsv(247, 25%, 70%)
CMYKcmyk(22.5%, 25.3%, 0%, 30.2%)
CIE-LABlab(57.46, 11.67, -22.98)
CIE-LCHlch(57.46, 25.77, 296.92°)
OKLaboklab(63.77% 0.0223 -0.0632)
OKLCHoklch(63.77% 0.067 289.4)
XYZxyz(26.9027, 25.3923, 45.5947)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A85B2 #ADB285
analogous
#8596B2 #8A85B2 #A085B2
triadic
#8A85B2 #B28A85 #85B28A
tetradic
#8A85B2 #B28596 #ADB285 #85B2A0
square
#8A85B2 #B28596 #ADB285 #85B2A0
split-complementary
#8A85B2 #B2A085 #96B285
monochromatic
#4E4974 #676199 #8A85B2 #AEABCA #D2D0E1

Accessibility & contrast

On white

3.45
#8A85B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A85B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A85B2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A85B2#FFFFFF#000000##000000
##8A85B21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#828C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a85b2;
/* rgb */ color: rgb(138, 133, 178);
/* oklch */ color: oklch(63.8% 0.067 289.4);
Tailwind
colors: {
  custom: {
    50: '#ada8c9',
    500: '#8a85b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a85b2;
$custom-light: #ada8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a85b2",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 178
  },
  "hsl": {
    "h": 246.667,
    "s": 22.613,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.067,
    "h": 289.4
  },
  "luminance": 0.25393
}

Semantic roles & 50–950 ramp

primary
#8A85B2
secondary
#D0D2C1
accent
#A14497
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8A85B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8A85B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva