#958DF5#958DF5

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

Color values

HEX#958DF5
RGBrgb(149, 141, 245)
HSLhsl(245, 84%, 76%)
HSVhsv(245, 42%, 96%)
CMYKcmyk(39.2%, 42.4%, 0%, 3.9%)
CIE-LABlab(63.37, 27.51, -51.22)
CIE-LCHlch(63.37, 58.14, 298.24°)
OKLaboklab(69.5% 0.0395 -0.1444)
OKLCHoklch(69.5% 0.15 285.3)
XYZxyz(38.3961, 32.0305, 90.5280)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958DF5 #EDF58D
analogous
#8DB9F5 #958DF5 #C98DF5
triadic
#958DF5 #F5958D #8DF595
tetradic
#958DF5 #F58DB9 #EDF58D #8DF5C9
square
#958DF5 #F58DB9 #EDF58D #8DF5C9
split-complementary
#958DF5 #F5C98D #B9F58D
monochromatic
#2C1CEB #6155F0 #958DF5 #C9C5FA #E5E3FD

Accessibility & contrast

On white

2.84
#958DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#958DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958DF5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958DF5#FFFFFF#000000##000000
##958DF51.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#7AA2B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #958df5;
/* rgb */ color: rgb(149, 141, 245);
/* oklch */ color: oklch(69.5% 0.150 285.3);
Tailwind
colors: {
  custom: {
    50: '#b8aef9',
    500: '#958df5',
    950: '#000000',
  },
}
SCSS
$custom: #958df5;
$custom-light: #b8aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#958df5",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 244.615,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69499,
    "c": 0.14974,
    "h": 285.3
  },
  "luminance": 0.32032
}

Semantic roles & 50–950 ramp

primary
#958DF5
secondary
#F2F4D7
accent
#E005CF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #958DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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