#968BF7#968BF7

#968BF7 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.3% C 0.155 H 286.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#968BF7
RGBrgb(150, 139, 247)
HSLhsl(246, 87%, 76%)
HSVhsv(246, 44%, 97%)
CMYKcmyk(39.3%, 43.7%, 0%, 3.1%)
CIE-LABlab(63.06, 29.46, -52.80)
CIE-LCHlch(63.06, 60.46, 299.16°)
OKLaboklab(69.32% 0.0435 -0.149)
OKLCHoklch(69.32% 0.155 286.3)
XYZxyz(38.5941, 31.6633, 92.0558)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968BF7 #ECF78B
analogous
#8BB6F7 #968BF7 #CC8BF7
triadic
#968BF7 #F7968B #8BF796
tetradic
#968BF7 #F78BB6 #ECF78B #8BF7CC
square
#968BF7 #F78BB6 #ECF78B #8BF7CC
split-complementary
#968BF7 #F7CC8B #B6F78B
monochromatic
#2E18EF #6252F3 #968BF7 #CAC4FB #E5E2FD

Accessibility & contrast

On white

2.86
#968BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#968BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968BF7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968BF7#FFFFFF#000000##000000
##968BF71.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#6296F4
Tritanopia (blue-blind)
#7BA0B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #968bf7;
/* rgb */ color: rgb(150, 139, 247);
/* oklch */ color: oklch(69.3% 0.155 286.3);
Tailwind
colors: {
  custom: {
    50: '#b9adfa',
    500: '#968bf7',
    950: '#000000',
  },
}
SCSS
$custom: #968bf7;
$custom-light: #b9adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#968bf7",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 246.111,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69321,
    "c": 0.15523,
    "h": 286.3
  },
  "luminance": 0.31665
}

Semantic roles & 50–950 ramp

primary
#968BF7
secondary
#F2F5D6
accent
#E402CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #968BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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