#9898CD#9898CD

#9898CD is a light, moderate blue. Relative luminance 0.335; OKLCH L 69.9% C 0.077 H 284.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9898CD
RGBrgb(152, 152, 205)
HSLhsl(240, 35%, 70%)
HSVhsv(240, 26%, 80%)
CMYKcmyk(25.9%, 25.9%, 0%, 19.6%)
CIE-LABlab(64.59, 11.65, -27.14)
CIE-LCHlch(64.59, 29.53, 293.23°)
OKLaboklab(69.92% 0.019 -0.0748)
OKLCHoklch(69.92% 0.077 284.2)
XYZxyz(35.1938, 33.5389, 62.3652)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9898CD #CDCD98
analogous
#98B2CD #9898CD #B298CD
triadic
#9898CD #CD9898 #98CD98
tetradic
#9898CD #CD98B3 #CDCD98 #98CDB3
square
#9898CD #CD98B3 #CDCD98 #98CDB3
split-complementary
#9898CD #CDB398 #B3CD98
monochromatic
#4D4D9E #6F6FB9 #9898CD #C1C1E1 #EAEAF5

Accessibility & contrast

On white

2.72
#9898CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9898CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9898CD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9898CD#FFFFFF#000000##000000
##9898CD1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECF
Deuteranopia (green-blind)
#889BCC
Tritanopia (blue-blind)
#8CA1AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9898cd;
/* rgb */ color: rgb(152, 152, 205);
/* oklch */ color: oklch(69.9% 0.077 284.2);
Tailwind
colors: {
  custom: {
    50: '#b7b6dc',
    500: '#9898cd',
    950: '#000000',
  },
}
SCSS
$custom: #9898cd;
$custom-light: #b7b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9898cd",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.69915,
    "c": 0.07722,
    "h": 284.2
  },
  "luminance": 0.3354
}

Semantic roles & 50–950 ramp

primary
#9898CD
secondary
#E8E8D9
accent
#AD38AD
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9898CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9898CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva