#9D97FF#9D97FF

#9D97FF is a light, vivid blue. Relative luminance 0.365; OKLCH L 72.5% C 0.149 H 284.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#9D97FF
RGBrgb(157, 151, 255)
HSLhsl(243, 100%, 80%)
HSVhsv(243, 41%, 100%)
CMYKcmyk(38.4%, 40.8%, 0%, 0%)
CIE-LABlab(66.92, 26.49, -51.04)
CIE-LCHlch(66.92, 57.51, 297.43°)
OKLaboklab(72.51% 0.0376 -0.1437)
OKLCHoklch(72.51% 0.149 284.7)
XYZxyz(43.0161, 36.5198, 99.3709)
Luminance0.3652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D97FF #F9FF97
analogous
#97C5FF #9D97FF #D197FF
triadic
#9D97FF #FF9D97 #97FF9D
tetradic
#9D97FF #FF97C5 #F9FF97 #97FFD1
square
#9D97FF #FF97C5 #F9FF97 #97FFD1
split-complementary
#9D97FF #FFD197 #C5FF97
monochromatic
#2A1DFF #635AFF #9D97FF #D7D4FF #E2E0FF

Accessibility & contrast

On white

2.53
#9D97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#9D97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D97FF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D97FF#FFFFFF#000000##000000
##9D97FF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#70A0FD
Tritanopia (blue-blind)
#81ABBF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9d97ff;
/* rgb */ color: rgb(157, 151, 255);
/* oklch */ color: oklch(72.5% 0.149 284.7);
Tailwind
colors: {
  custom: {
    50: '#bdb5ff',
    500: '#9d97ff',
    950: '#000000',
  },
}
SCSS
$custom: #9d97ff;
$custom-light: #bdb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d97ff",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 243.462,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.14855,
    "h": 284.7
  },
  "luminance": 0.36521
}

Semantic roles & 50–950 ramp

primary
#9D97FF
secondary
#F5F7D4
accent
#E600D8
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9D97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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