#9C98F7#9C98F7

#9C98F7 is a light, vivid blue. Relative luminance 0.362; OKLCH L 72.2% C 0.136 H 284.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9C98F7
RGBrgb(156, 152, 247)
HSLhsl(243, 86%, 78%)
HSVhsv(243, 38%, 97%)
CMYKcmyk(36.8%, 38.5%, 0%, 3.1%)
CIE-LABlab(66.70, 23.52, -47.02)
CIE-LCHlch(66.70, 52.57, 296.58°)
OKLaboklab(72.2% 0.0338 -0.132)
OKLCHoklch(72.2% 0.136 284.4)
XYZxyz(41.7224, 36.2384, 92.7741)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C98F7 #F3F798
analogous
#98C3F7 #9C98F7 #CB98F7
triadic
#9C98F7 #F79C98 #98F79C
tetradic
#9C98F7 #F798C3 #F3F798 #98F7CB
square
#9C98F7 #F798C3 #F3F798 #98F7CB
split-complementary
#9C98F7 #F7CB98 #C3F798
monochromatic
#2F26EE #655FF3 #9C98F7 #D3D1FB #E4E3FD

Accessibility & contrast

On white

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

On black

8.25
#9C98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C98F7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C98F7#FFFFFF#000000##000000
##9C98F71.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#83AABC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9c98f7;
/* rgb */ color: rgb(156, 152, 247);
/* oklch */ color: oklch(72.2% 0.136 284.4);
Tailwind
colors: {
  custom: {
    50: '#bcb6fa',
    500: '#9c98f7',
    950: '#000000',
  },
}
SCSS
$custom: #9c98f7;
$custom-light: #bcb6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c98f7",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 242.526,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72203,
    "c": 0.13627,
    "h": 284.4
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#9C98F7
secondary
#F3F5D6
accent
#E203D9
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9C98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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