#968CFB#968CFB

#968CFB is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.7% C 0.159 H 285.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#968CFB
RGBrgb(150, 140, 251)
HSLhsl(245, 93%, 77%)
HSVhsv(245, 44%, 98%)
CMYKcmyk(40.2%, 44.2%, 0%, 1.6%)
CIE-LABlab(63.51, 29.98, -54.28)
CIE-LCHlch(63.51, 62.01, 298.91°)
OKLaboklab(69.73% 0.0428 -0.1534)
OKLCHoklch(69.73% 0.159 285.6)
XYZxyz(39.3634, 32.2038, 95.3900)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968CFB #F1FB8C
analogous
#8CBAFB #968CFB #CD8CFB
triadic
#968CFB #FB968C #8CFB96
tetradic
#968CFB #FB8CBA #F1FB8C #8CFBCD
square
#968CFB #FB8CBA #F1FB8C #8CFBCD
split-complementary
#968CFB #FBCD8C #BAFB8C
monochromatic
#2A16F7 #6051F9 #968CFB #CCC7FD #E4E1FE

Accessibility & contrast

On white

2.82
#968CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#968CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968CFB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968CFB#FFFFFF#000000##000000
##968CFB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6097F8
Tritanopia (blue-blind)
#79A2B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #968cfb;
/* rgb */ color: rgb(150, 140, 251);
/* oklch */ color: oklch(69.7% 0.159 285.6);
Tailwind
colors: {
  custom: {
    50: '#b9adfd',
    500: '#968cfb',
    950: '#000000',
  },
}
SCSS
$custom: #968cfb;
$custom-light: #b9adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#968cfb",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 245.405,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69726,
    "c": 0.15922,
    "h": 285.6
  },
  "luminance": 0.32205
}

Semantic roles & 50–950 ramp

primary
#968CFB
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #968CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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