#968AF2#968AF2

#968AF2 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.9% C 0.150 H 287.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#968AF2
RGBrgb(150, 138, 242)
HSLhsl(247, 80%, 75%)
HSVhsv(247, 43%, 95%)
CMYKcmyk(38%, 43%, 0%, 5.1%)
CIE-LABlab(62.57, 28.68, -50.83)
CIE-LCHlch(62.57, 58.37, 299.43°)
OKLaboklab(68.86% 0.044 -0.1433)
OKLCHoklch(68.86% 0.15 287.1)
XYZxyz(37.6887, 31.0706, 87.9986)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968AF2 #E6F28A
analogous
#8AB2F2 #968AF2 #CA8AF2
triadic
#968AF2 #F2968A #8AF296
tetradic
#968AF2 #F28AB2 #E6F28A #8AF2CA
square
#968AF2 #F28AB2 #E6F28A #8AF2CA
split-complementary
#968AF2 #F2CA8A #B2F28A
monochromatic
#331CE6 #6553EC #968AF2 #C7C1F8 #E6E3FC

Accessibility & contrast

On white

2.91
#968AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#968AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968AF2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968AF2#FFFFFF#000000##000000
##968AF21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#6495F0
Tritanopia (blue-blind)
#7D9EB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #968af2;
/* rgb */ color: rgb(150, 138, 242);
/* oklch */ color: oklch(68.9% 0.150 287.1);
Tailwind
colors: {
  custom: {
    50: '#b8acf7',
    500: '#968af2',
    950: '#000000',
  },
}
SCSS
$custom: #968af2;
$custom-light: #b8acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#968af2",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 246.923,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.14988,
    "h": 287.1
  },
  "luminance": 0.31072
}

Semantic roles & 50–950 ramp

primary
#968AF2
secondary
#F0F4D7
accent
#DC09C4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #968AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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