#9D97EA#9D97EA

#9D97EA is a light, moderate blue. Relative luminance 0.352; OKLCH L 71.4% C 0.120 H 286.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9D97EA
RGBrgb(157, 151, 234)
HSLhsl(244, 66%, 75%)
HSVhsv(244, 35%, 92%)
CMYKcmyk(32.9%, 35.5%, 0%, 8.2%)
CIE-LABlab(65.94, 20.96, -41.09)
CIE-LCHlch(65.94, 46.12, 297.02°)
OKLaboklab(71.44% 0.0335 -0.1148)
OKLCHoklch(71.44% 0.12 286.3)
XYZxyz(39.8185, 35.2408, 82.5302)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D97EA #E4EA97
analogous
#97BAEA #9D97EA #C697EA
triadic
#9D97EA #EA9D97 #97EA9D
tetradic
#9D97EA #EA97BA #E4EA97 #97EAC6
square
#9D97EA #EA97BA #E4EA97 #97EAC6
split-complementary
#9D97EA #EAC697 #BAEA97
monochromatic
#3D31D5 #6D64E0 #9D97EA #CDCAF4 #E7E6FA

Accessibility & contrast

On white

2.61
#9D97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9D97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D97EA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D97EA#FFFFFF#000000##000000
##9D97EA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2ED
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#8AA6B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9d97ea;
/* rgb */ color: rgb(157, 151, 234);
/* oklch */ color: oklch(71.4% 0.120 286.3);
Tailwind
colors: {
  custom: {
    50: '#bcb5f1',
    500: '#9d97ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d97ea;
$custom-light: #bcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d97ea",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 244.337,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.11956,
    "h": 286.3
  },
  "luminance": 0.35242
}

Semantic roles & 50–950 ramp

primary
#9D97EA
secondary
#F0F1DA
accent
#CE17C1
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9D97EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D97EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva