#968AFE#968AFE

#968AFE is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.5% C 0.166 H 286.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#968AFE
RGBrgb(150, 138, 254)
HSLhsl(246, 98%, 77%)
HSVhsv(246, 46%, 100%)
CMYKcmyk(40.9%, 45.7%, 0%, 0.4%)
CIE-LABlab(63.19, 31.95, -56.44)
CIE-LCHlch(63.19, 64.85, 299.51°)
OKLaboklab(69.54% 0.0456 -0.1597)
OKLCHoklch(69.54% 0.166 286)
XYZxyz(39.5505, 31.8153, 97.8038)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968AFE #F2FE8A
analogous
#8AB8FE #968AFE #D08AFE
triadic
#968AFE #FE968A #8AFE96
tetradic
#968AFE #FE8AB8 #F2FE8A #8AFED0
square
#968AFE #FE8AB8 #F2FE8A #8AFED0
split-complementary
#968AFE #FED08A #B8FE8A
monochromatic
#2911FD #604DFD #968AFE #CCC7FF #E4E1FF

Accessibility & contrast

On white

2.85
#968AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#968AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968AFE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968AFE#FFFFFF#000000##000000
##968AFE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5B96FB
Tritanopia (blue-blind)
#78A2B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #968afe;
/* rgb */ color: rgb(150, 138, 254);
/* oklch */ color: oklch(69.5% 0.166 286.0);
Tailwind
colors: {
  custom: {
    50: '#b9acff',
    500: '#968afe',
    950: '#000000',
  },
}
SCSS
$custom: #968afe;
$custom-light: #b9acff;
$custom-dark: #000000;
JSON
{
  "hex": "#968afe",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 246.207,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69535,
    "c": 0.16607,
    "h": 286
  },
  "luminance": 0.31817
}

Semantic roles & 50–950 ramp

primary
#968AFE
secondary
#F3F7D4
accent
#E600CE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #968AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#968AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva