#8D98CE#8D98CE

#8D98CE is a light, moderate blue. Relative luminance 0.326; OKLCH L 69.1% C 0.081 H 275.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8D98CE
RGBrgb(141, 152, 206)
HSLhsl(230, 40%, 68%)
HSVhsv(230, 32%, 81%)
CMYKcmyk(31.6%, 26.2%, 0%, 19.2%)
CIE-LABlab(63.81, 8.63, -28.97)
CIE-LCHlch(63.81, 30.23, 286.59°)
OKLaboklab(69.12% 0.0073 -0.0802)
OKLCHoklch(69.12% 0.081 275.2)
XYZxyz(33.3502, 32.5743, 62.9109)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98CE #CEC38D
analogous
#8DB8CE #8D98CE #A28DCE
triadic
#8D98CE #CE8D98 #98CE8D
tetradic
#8D98CE #CE8DB8 #CEC38D #8DCEA2
square
#8D98CE #CE8DB8 #CEC38D #8DCEA2
split-complementary
#8D98CE #CEA28D #B8CE8D
monochromatic
#44539D #6271BC #8D98CE #B8BFE0 #E3E5F3

Accessibility & contrast

On white

2.79
#8D98CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8D98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D98CE
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D98CE#FFFFFF#000000##000000
##8D98CE1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DD0
Deuteranopia (green-blind)
#8398CD
Tritanopia (blue-blind)
#7CA2AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8d98ce;
/* rgb */ color: rgb(141, 152, 206);
/* oklch */ color: oklch(69.1% 0.081 275.2);
Tailwind
colors: {
  custom: {
    50: '#b0b6dd',
    500: '#8d98ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d98ce;
$custom-light: #b0b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98ce",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 229.846,
    "s": 39.877,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69117,
    "c": 0.08055,
    "h": 275.2
  },
  "luminance": 0.32575
}

Semantic roles & 50–950 ramp

primary
#8D98CE
secondary
#E5E2D1
accent
#9D33B3
background
#FAFBFD
surface
#F5F6FB
border
#CFD0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8D98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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