#968EF2#968EF2

#968EF2 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.144 H 285.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#968EF2
RGBrgb(150, 142, 242)
HSLhsl(245, 79%, 75%)
HSVhsv(245, 41%, 95%)
CMYKcmyk(38%, 41.3%, 0%, 5.1%)
CIE-LABlab(63.54, 26.38, -49.29)
CIE-LCHlch(63.54, 55.91, 298.15°)
OKLaboklab(69.6% 0.0389 -0.1388)
OKLCHoklch(69.6% 0.144 285.7)
XYZxyz(38.2732, 32.2395, 88.1935)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968EF2 #EAF28E
analogous
#8EB8F2 #968EF2 #C88EF2
triadic
#968EF2 #F2968E #8EF296
tetradic
#968EF2 #F28EB8 #EAF28E #8EF2C8
square
#968EF2 #F28EB8 #EAF28E #8EF2C8
split-complementary
#968EF2 #F2C88E #B8F28E
monochromatic
#3020E5 #6357EC #968EF2 #C9C5F8 #E6E4FC

Accessibility & contrast

On white

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

On black

7.45
#968EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968EF2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968EF2#FFFFFF#000000##000000
##968EF21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#7DA2B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #968ef2;
/* rgb */ color: rgb(150, 142, 242);
/* oklch */ color: oklch(69.6% 0.144 285.7);
Tailwind
colors: {
  custom: {
    50: '#b8aff7',
    500: '#968ef2',
    950: '#000000',
  },
}
SCSS
$custom: #968ef2;
$custom-light: #b8aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#968ef2",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 244.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.696,
    "c": 0.14413,
    "h": 285.7
  },
  "luminance": 0.32241
}

Semantic roles & 50–950 ramp

primary
#968EF2
secondary
#F1F4D7
accent
#DC0ACB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #968EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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