#9F97FF#9F97FF

#9F97FF is a light, vivid blue. Relative luminance 0.367; OKLCH L 72.7% C 0.148 H 285.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9F97FF
RGBrgb(159, 151, 255)
HSLhsl(245, 100%, 80%)
HSVhsv(245, 41%, 100%)
CMYKcmyk(37.6%, 40.8%, 0%, 0%)
CIE-LABlab(67.07, 27.00, -50.79)
CIE-LCHlch(67.07, 57.52, 297.99°)
OKLaboklab(72.67% 0.0399 -0.1429)
OKLCHoklch(72.67% 0.148 285.6)
XYZxyz(43.4096, 36.7227, 99.3893)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F97FF #F7FF97
analogous
#97C3FF #9F97FF #D397FF
triadic
#9F97FF #FF9F97 #97FF9F
tetradic
#9F97FF #FF97C3 #F7FF97 #97FFD3
square
#9F97FF #FF97C3 #F7FF97 #97FFD3
split-complementary
#9F97FF #FFD397 #C3FF97
monochromatic
#2E1DFF #675AFF #9F97FF #D7D4FF #E3E0FF

Accessibility & contrast

On white

2.52
#9F97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#9F97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F97FF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F97FF#FFFFFF#000000##000000
##9F97FF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#71A0FD
Tritanopia (blue-blind)
#85ABBF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9f97ff;
/* rgb */ color: rgb(159, 151, 255);
/* oklch */ color: oklch(72.7% 0.148 285.6);
Tailwind
colors: {
  custom: {
    50: '#bfb5ff',
    500: '#9f97ff',
    950: '#000000',
  },
}
SCSS
$custom: #9f97ff;
$custom-light: #bfb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f97ff",
  "rgb": {
    "r": 159,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 244.615,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72665,
    "c": 0.14838,
    "h": 285.6
  },
  "luminance": 0.36724
}

Semantic roles & 50–950 ramp

primary
#9F97FF
secondary
#F5F7D4
accent
#E600D4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9F97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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