#9C97FF#9C97FF

#9C97FF is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.4% C 0.149 H 284.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9C97FF
RGBrgb(156, 151, 255)
HSLhsl(243, 100%, 80%)
HSVhsv(243, 41%, 100%)
CMYKcmyk(38.8%, 40.8%, 0%, 0%)
CIE-LABlab(66.84, 26.24, -51.17)
CIE-LCHlch(66.84, 57.50, 297.15°)
OKLaboklab(72.43% 0.0365 -0.1441)
OKLCHoklch(72.43% 0.149 284.2)
XYZxyz(42.8218, 36.4196, 99.3618)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C97FF #FAFF97
analogous
#97C6FF #9C97FF #D097FF
triadic
#9C97FF #FF9C97 #97FF9C
tetradic
#9C97FF #FF97C6 #FAFF97 #97FFD0
square
#9C97FF #FF97C6 #FAFF97 #97FFD0
split-complementary
#9C97FF #FFD097 #C6FF97
monochromatic
#271DFF #625AFF #9C97FF #D6D4FF #E2E0FF

Accessibility & contrast

On white

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

On black

8.28
#9C97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C97FF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C97FF#FFFFFF#000000##000000
##9C97FF1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#709FFD
Tritanopia (blue-blind)
#80ABBF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9c97ff;
/* rgb */ color: rgb(156, 151, 255);
/* oklch */ color: oklch(72.4% 0.149 284.2);
Tailwind
colors: {
  custom: {
    50: '#bdb5ff',
    500: '#9c97ff',
    950: '#000000',
  },
}
SCSS
$custom: #9c97ff;
$custom-light: #bdb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c97ff",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 242.885,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72433,
    "c": 0.14865,
    "h": 284.2
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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