#968EFE#968EFE

#968EFE is a light, vivid blue. Relative luminance 0.330; OKLCH L 70.3% C 0.160 H 284.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#968EFE
RGBrgb(150, 142, 254)
HSLhsl(244, 98%, 78%)
HSVhsv(244, 44%, 100%)
CMYKcmyk(40.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(64.15, 29.65, -54.91)
CIE-LCHlch(64.15, 62.41, 298.37°)
OKLaboklab(70.26% 0.0408 -0.1552)
OKLCHoklch(70.26% 0.16 284.7)
XYZxyz(40.1349, 32.9842, 97.9986)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968EFE #F6FE8E
analogous
#8EBEFE #968EFE #CE8EFE
triadic
#968EFE #FE968E #8EFE96
tetradic
#968EFE #FE8EBE #F6FE8E #8EFECE
square
#968EFE #FE8EBE #F6FE8E #8EFECE
split-complementary
#968EFE #FECE8E #BEFE8E
monochromatic
#2515FD #5E51FD #968EFE #CECBFF #E3E1FF

Accessibility & contrast

On white

2.76
#968EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#968EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968EFE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968EFE#FFFFFF#000000##000000
##968EFE1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#77A5BA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #968efe;
/* rgb */ color: rgb(150, 142, 254);
/* oklch */ color: oklch(70.3% 0.160 284.7);
Tailwind
colors: {
  custom: {
    50: '#b9afff',
    500: '#968efe',
    950: '#000000',
  },
}
SCSS
$custom: #968efe;
$custom-light: #b9afff;
$custom-dark: #000000;
JSON
{
  "hex": "#968efe",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 244.286,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.16047,
    "h": 284.7
  },
  "luminance": 0.32986
}

Semantic roles & 50–950 ramp

primary
#968EFE
secondary
#F5F7D4
accent
#E600D5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #968EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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