#9A97FF#9A97FF

#9A97FF is a light, vivid blue. Relative luminance 0.362; OKLCH L 72.3% C 0.149 H 283.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9A97FF
RGBrgb(154, 151, 255)
HSLhsl(242, 100%, 80%)
HSVhsv(242, 41%, 100%)
CMYKcmyk(39.6%, 40.8%, 0%, 0%)
CIE-LABlab(66.69, 25.74, -51.41)
CIE-LCHlch(66.69, 57.50, 296.59°)
OKLaboklab(72.28% 0.0343 -0.1448)
OKLCHoklch(72.28% 0.149 283.3)
XYZxyz(42.4379, 36.2216, 99.3438)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A97FF #FCFF97
analogous
#97C8FF #9A97FF #CE97FF
triadic
#9A97FF #FF9A97 #97FF9A
tetradic
#9A97FF #FF97C8 #FCFF97 #97FFCE
square
#9A97FF #FF97C8 #FCFF97 #97FFCE
split-complementary
#9A97FF #FFCE97 #C8FF97
monochromatic
#231DFF #5F5AFF #9A97FF #D5D4FF #E1E0FF

Accessibility & contrast

On white

2.55
#9A97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9A97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A97FF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A97FF#FFFFFF#000000##000000
##9A97FF1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#6E9FFD
Tritanopia (blue-blind)
#7CACBF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9a97ff;
/* rgb */ color: rgb(154, 151, 255);
/* oklch */ color: oklch(72.3% 0.149 283.3);
Tailwind
colors: {
  custom: {
    50: '#bcb5ff',
    500: '#9a97ff',
    950: '#000000',
  },
}
SCSS
$custom: #9a97ff;
$custom-light: #bcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9a97ff",
  "rgb": {
    "r": 154,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 241.731,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.14886,
    "h": 283.3
  },
  "luminance": 0.36223
}

Semantic roles & 50–950 ramp

primary
#9A97FF
secondary
#F6F7D4
accent
#E600DF
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9A97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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