#968CEB#968CEB

#968CEB is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.9% C 0.137 H 287.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#968CEB
RGBrgb(150, 140, 235)
HSLhsl(246, 70%, 74%)
HSVhsv(246, 40%, 92%)
CMYKcmyk(36.2%, 40.4%, 0%, 7.8%)
CIE-LABlab(62.71, 25.65, -46.75)
CIE-LCHlch(62.71, 53.33, 298.75°)
OKLaboklab(68.86% 0.0402 -0.1314)
OKLCHoklch(68.86% 0.137 287)
XYZxyz(36.9471, 31.2372, 82.6639)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968CEB #E1EB8C
analogous
#8CB1EB #968CEB #C58CEB
triadic
#968CEB #EB968C #8CEB96
tetradic
#968CEB #EB8CB1 #E1EB8C #8CEBC5
square
#968CEB #EB8CB1 #E1EB8C #8CEBC5
split-complementary
#968CEB #EBC58C #B1EB8C
monochromatic
#3825D7 #6658E2 #968CEB #C6C0F4 #E7E5FA

Accessibility & contrast

On white

2.90
#968CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#968CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968CEB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968CEB#FFFFFF#000000##000000
##968CEB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#809EB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #968ceb;
/* rgb */ color: rgb(150, 140, 235);
/* oklch */ color: oklch(68.9% 0.137 287.0);
Tailwind
colors: {
  custom: {
    50: '#b8adf2',
    500: '#968ceb',
    950: '#000000',
  },
}
SCSS
$custom: #968ceb;
$custom-light: #b8adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#968ceb",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 246.316,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68855,
    "c": 0.13739,
    "h": 287
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

primary
#968CEB
secondary
#EFF2D9
accent
#D213BE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #968CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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