#958DFB#958DFB

#958DFB is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.8% C 0.158 H 284.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#958DFB
RGBrgb(149, 141, 251)
HSLhsl(244, 93%, 77%)
HSVhsv(244, 44%, 98%)
CMYKcmyk(40.6%, 43.8%, 0%, 1.6%)
CIE-LABlab(63.67, 29.16, -54.03)
CIE-LCHlch(63.67, 61.39, 298.35°)
OKLaboklab(69.83% 0.0404 -0.1526)
OKLCHoklch(69.83% 0.158 284.8)
XYZxyz(39.3269, 32.4029, 95.4303)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958DFB #F3FB8D
analogous
#8DBCFB #958DFB #CC8DFB
triadic
#958DFB #FB958D #8DFB95
tetradic
#958DFB #FB8DBC #F3FB8D #8DFBCC
square
#958DFB #FB8DBC #F3FB8D #8DFBCC
split-complementary
#958DFB #FBCC8D #BCFB8D
monochromatic
#2717F7 #5E52F9 #958DFB #CCC8FD #E4E1FE

Accessibility & contrast

On white

2.81
#958DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#958DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958DFB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958DFB#FFFFFF#000000##000000
##958DFB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6197F8
Tritanopia (blue-blind)
#77A3B8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #958dfb;
/* rgb */ color: rgb(149, 141, 251);
/* oklch */ color: oklch(69.8% 0.158 284.8);
Tailwind
colors: {
  custom: {
    50: '#b8aefd',
    500: '#958dfb',
    950: '#000000',
  },
}
SCSS
$custom: #958dfb;
$custom-light: #b8aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#958dfb",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 244.364,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69831,
    "c": 0.15791,
    "h": 284.8
  },
  "luminance": 0.32404
}

Semantic roles & 50–950 ramp

primary
#958DFB
secondary
#F4F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #958DFB

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

Preview Lab → · Contrast checker → · Palette generator →

#958DFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva