#958DFA#958DFA

#958DFA is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.8% C 0.157 H 284.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#958DFA
RGBrgb(149, 141, 250)
HSLhsl(244, 92%, 77%)
HSVhsv(244, 44%, 98%)
CMYKcmyk(40.4%, 43.6%, 0%, 2%)
CIE-LABlab(63.62, 28.88, -53.56)
CIE-LCHlch(63.62, 60.85, 298.33°)
OKLaboklab(69.77% 0.0403 -0.1513)
OKLCHoklch(69.77% 0.157 284.9)
XYZxyz(39.1697, 32.3400, 94.6024)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958DFA #F2FA8D
analogous
#8DBCFA #958DFA #CC8DFA
triadic
#958DFA #FA958D #8DFA95
tetradic
#958DFA #FA8DBC #F2FA8D #8DFACC
square
#958DFA #FA8DBC #F2FA8D #8DFACC
split-complementary
#958DFA #FACC8D #BCFA8D
monochromatic
#2818F5 #5E52F7 #958DFA #CCC8FD #E4E2FE

Accessibility & contrast

On white

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

On black

7.47
#958DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958DFA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958DFA#FFFFFF#000000##000000
##958DFA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6297F7
Tritanopia (blue-blind)
#77A3B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #958dfa;
/* rgb */ color: rgb(149, 141, 250);
/* oklch */ color: oklch(69.8% 0.157 284.9);
Tailwind
colors: {
  custom: {
    50: '#b8aefc',
    500: '#958dfa',
    950: '#000000',
  },
}
SCSS
$custom: #958dfa;
$custom-light: #b8aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#958dfa",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 244.404,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69775,
    "c": 0.15655,
    "h": 284.9
  },
  "luminance": 0.32341
}

Semantic roles & 50–950 ramp

primary
#958DFA
secondary
#F3F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #958DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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