#968AFA#968AFA

#968AFA is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.3% C 0.161 H 286.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#968AFA
RGBrgb(150, 138, 250)
HSLhsl(246, 92%, 76%)
HSVhsv(246, 45%, 98%)
CMYKcmyk(40%, 44.8%, 0%, 2%)
CIE-LABlab(62.98, 30.85, -54.58)
CIE-LCHlch(62.98, 62.70, 299.48°)
OKLaboklab(69.31% 0.0451 -0.1542)
OKLCHoklch(69.31% 0.161 286.3)
XYZxyz(38.9166, 31.5617, 94.4655)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968AFA #EEFA8A
analogous
#8AB6FA #968AFA #CE8AFA
triadic
#968AFA #FA968A #8AFA96
tetradic
#968AFA #FA8AB6 #EEFA8A #8AFACE
square
#968AFA #FA8AB6 #EEFA8A #8AFACE
split-complementary
#968AFA #FACE8A #B6FA8A
monochromatic
#2D15F5 #614FF7 #968AFA #CBC5FD #E5E2FE

Accessibility & contrast

On white

2.87
#968AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#968AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #968AFA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968AFA#FFFFFF#000000##000000
##968AFA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#79A0B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #968afa;
/* rgb */ color: rgb(150, 138, 250);
/* oklch */ color: oklch(69.3% 0.161 286.3);
Tailwind
colors: {
  custom: {
    50: '#b9acfc',
    500: '#968afa',
    950: '#000000',
  },
}
SCSS
$custom: #968afa;
$custom-light: #b9acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#968afa",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 246.429,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69307,
    "c": 0.16071,
    "h": 286.3
  },
  "luminance": 0.31563
}

Semantic roles & 50–950 ramp

primary
#968AFA
secondary
#F2F6D5
accent
#E600CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #968AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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