#958EF1#958EF1

#958EF1 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.143 H 285.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#958EF1
RGBrgb(149, 142, 241)
HSLhsl(244, 78%, 75%)
HSVhsv(244, 41%, 95%)
CMYKcmyk(38.2%, 41.1%, 0%, 5.5%)
CIE-LABlab(63.41, 25.85, -48.95)
CIE-LCHlch(63.41, 55.36, 297.84°)
OKLaboklab(69.47% 0.0376 -0.1378)
OKLCHoklch(69.47% 0.143 285.3)
XYZxyz(37.9402, 32.0851, 87.3961)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958EF1 #EAF18E
analogous
#8EB9F1 #958EF1 #C68EF1
triadic
#958EF1 #F1958E #8EF195
tetradic
#958EF1 #F18EB9 #EAF18E #8EF1C6
square
#958EF1 #F18EB9 #EAF18E #8EF1C6
split-complementary
#958EF1 #F1C68E #B9F18E
monochromatic
#2F21E4 #6258EA #958EF1 #C8C4F8 #E5E4FC

Accessibility & contrast

On white

2.83
#958EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#958EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958EF1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958EF1#FFFFFF#000000##000000
##958EF11.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF5
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#7BA1B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #958ef1;
/* rgb */ color: rgb(149, 142, 241);
/* oklch */ color: oklch(69.5% 0.143 285.3);
Tailwind
colors: {
  custom: {
    50: '#b7aff6',
    500: '#958ef1',
    950: '#000000',
  },
}
SCSS
$custom: #958ef1;
$custom-light: #b7aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#958ef1",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 244.242,
    "s": 77.953,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69468,
    "c": 0.14284,
    "h": 285.3
  },
  "luminance": 0.32086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #958EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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