#958DF1#958DF1

#958DF1 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.144 H 285.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#958DF1
RGBrgb(149, 141, 241)
HSLhsl(245, 78%, 75%)
HSVhsv(245, 41%, 95%)
CMYKcmyk(38.2%, 41.5%, 0%, 5.5%)
CIE-LABlab(63.17, 26.43, -49.34)
CIE-LCHlch(63.17, 55.97, 298.18°)
OKLaboklab(69.28% 0.0389 -0.1389)
OKLCHoklch(69.28% 0.144 285.6)
XYZxyz(37.7920, 31.7889, 87.3467)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958DF1 #E9F18D
analogous
#8DB7F1 #958DF1 #C78DF1
triadic
#958DF1 #F1958D #8DF195
tetradic
#958DF1 #F18DB7 #E9F18D #8DF1C7
square
#958DF1 #F18DB7 #E9F18D #8DF1C7
split-complementary
#958DF1 #F1C78D #B7F18D
monochromatic
#3020E4 #6256EA #958DF1 #C8C4F8 #E6E4FC

Accessibility & contrast

On white

2.85
#958DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#958DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958DF1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958DF1#FFFFFF#000000##000000
##958DF11.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF5
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#7BA1B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #958df1;
/* rgb */ color: rgb(149, 141, 241);
/* oklch */ color: oklch(69.3% 0.144 285.6);
Tailwind
colors: {
  custom: {
    50: '#b8aef6',
    500: '#958df1',
    950: '#000000',
  },
}
SCSS
$custom: #958df1;
$custom-light: #b8aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#958df1",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 244.8,
    "s": 78.125,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.14427,
    "h": 285.6
  },
  "luminance": 0.3179
}

Semantic roles & 50–950 ramp

primary
#958DF1
secondary
#F1F3D8
accent
#DA0BCA
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #958DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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