#97A2FB#97A2FB

#97A2FB is a light, vivid blue. Relative luminance 0.394; OKLCH L 74.0% C 0.129 H 277.4°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#97A2FB
RGBrgb(151, 162, 251)
HSLhsl(233, 93%, 79%)
HSVhsv(233, 40%, 98%)
CMYKcmyk(39.8%, 35.5%, 0%, 1.6%)
CIE-LABlab(69.03, 17.61, -45.56)
CIE-LCHlch(69.03, 48.85, 291.13°)
OKLaboklab(73.96% 0.0166 -0.1279)
OKLCHoklch(73.96% 0.129 277.4)
XYZxyz(43.0903, 39.3831, 96.5793)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A2FB #FBF097
analogous
#97D4FB #97A2FB #BE97FB
triadic
#97A2FB #FB97A2 #A2FB97
tetradic
#97A2FB #FB97D4 #FBF097 #97FBBE
square
#97A2FB #FB97D4 #FBF097 #97FBBE
split-complementary
#97A2FB #FBBE97 #D4FB97
monochromatic
#2139F6 #5C6DF9 #97A2FB #D2D7FD #E2E5FE

Accessibility & contrast

On white

2.37
#97A2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#97A2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A2FB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A2FB#FFFFFF#000000##000000
##97A2FB1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#78B4C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97a2fb;
/* rgb */ color: rgb(151, 162, 251);
/* oklch */ color: oklch(74.0% 0.129 277.4);
Tailwind
colors: {
  custom: {
    50: '#b9bdfd',
    500: '#97a2fb',
    950: '#000000',
  },
}
SCSS
$custom: #97a2fb;
$custom-light: #b9bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#97a2fb",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 233.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73956,
    "c": 0.12894,
    "h": 277.4
  },
  "luminance": 0.39385
}

Semantic roles & 50–950 ramp

primary
#97A2FB
secondary
#F6F2D5
accent
#CC00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #97A2FB

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

Preview Lab → · Contrast checker → · Palette generator →

#97A2FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva