#968CEC#968CEC

#968CEC is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.9% C 0.139 H 286.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#968CEC
RGBrgb(150, 140, 236)
HSLhsl(246, 72%, 74%)
HSVhsv(246, 41%, 93%)
CMYKcmyk(36.4%, 40.7%, 0%, 7.5%)
CIE-LABlab(62.76, 25.92, -47.23)
CIE-LCHlch(62.76, 53.87, 298.76°)
OKLaboklab(68.91% 0.0404 -0.1328)
OKLCHoklch(68.91% 0.139 286.9)
XYZxyz(37.0919, 31.2952, 83.4269)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968CEC #E2EC8C
analogous
#8CB2EC #968CEC #C68CEC
triadic
#968CEC #EC968C #8CEC96
tetradic
#968CEC #EC8CB2 #E2EC8C #8CECC6
square
#968CEC #EC8CB2 #E2EC8C #8CECC6
split-complementary
#968CEC #ECC68C #B2EC8C
monochromatic
#3724DA #6657E3 #968CEC #C6C1F5 #E7E5FB

Accessibility & contrast

On white

2.89
#968CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#968CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968CEC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968CEC#FFFFFF#000000##000000
##968CEC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#7F9EB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #968cec;
/* rgb */ color: rgb(150, 140, 236);
/* oklch */ color: oklch(68.9% 0.139 286.9);
Tailwind
colors: {
  custom: {
    50: '#b8adf2',
    500: '#968cec',
    950: '#000000',
  },
}
SCSS
$custom: #968cec;
$custom-light: #b8adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#968cec",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 236
  },
  "hsl": {
    "h": 246.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.13878,
    "h": 286.9
  },
  "luminance": 0.31296
}

Semantic roles & 50–950 ramp

primary
#968CEC
secondary
#F0F2D9
accent
#D412BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #968CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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