#8D98CD#8D98CD

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

Color values

HEX#8D98CD
RGBrgb(141, 152, 205)
HSLhsl(230, 39%, 68%)
HSVhsv(230, 31%, 80%)
CMYKcmyk(31.2%, 25.9%, 0%, 19.6%)
CIE-LABlab(63.78, 8.37, -28.47)
CIE-LCHlch(63.78, 29.68, 286.39°)
OKLaboklab(69.07% 0.007 -0.0788)
OKLCHoklch(69.07% 0.079 275.1)
XYZxyz(33.2291, 32.5259, 62.2731)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D98CD #CDC28D
analogous
#8DB8CD #8D98CD #A28DCD
triadic
#8D98CD #CD8D98 #98CD8D
tetradic
#8D98CD #CD8DB8 #CDC28D #8DCDA2
square
#8D98CD #CD8DB8 #CDC28D #8DCDA2
split-complementary
#8D98CD #CDA28D #B8CD8D
monochromatic
#44539B #6272BA #8D98CD #B8BEE0 #E2E5F2

Accessibility & contrast

On white

2.80
#8D98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D98CD#FFFFFF#000000##000000
##8D98CD1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCF
Deuteranopia (green-blind)
#8498CC
Tritanopia (blue-blind)
#7CA2AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8d98cd;
/* rgb */ color: rgb(141, 152, 205);
/* oklch */ color: oklch(69.1% 0.079 275.1);
Tailwind
colors: {
  custom: {
    50: '#b0b6dc',
    500: '#8d98cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d98cd;
$custom-light: #b0b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d98cd",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 229.688,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69073,
    "c": 0.07912,
    "h": 275.1
  },
  "luminance": 0.32527
}

Semantic roles & 50–950 ramp

primary
#8D98CD
secondary
#E5E1D1
accent
#9C33B2
background
#FAFBFD
surface
#F5F6FB
border
#CFD0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8D98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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