#958DF7#958DF7

#958DF7 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.152 H 285.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#958DF7
RGBrgb(149, 141, 247)
HSLhsl(245, 87%, 76%)
HSVhsv(245, 43%, 97%)
CMYKcmyk(39.7%, 42.9%, 0%, 3.1%)
CIE-LABlab(63.47, 28.06, -52.16)
CIE-LCHlch(63.47, 59.23, 298.28°)
OKLaboklab(69.61% 0.0398 -0.1472)
OKLCHoklch(69.61% 0.152 285.1)
XYZxyz(38.7030, 32.1533, 92.1446)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958DF7 #EFF78D
analogous
#8DBAF7 #958DF7 #CA8DF7
triadic
#958DF7 #F7958D #8DF795
tetradic
#958DF7 #F78DBA #EFF78D #8DF7CA
square
#958DF7 #F78DBA #EFF78D #8DF7CA
split-complementary
#958DF7 #F7CA8D #BAF78D
monochromatic
#2B1BEF #6054F3 #958DF7 #CAC6FB #E4E2FD

Accessibility & contrast

On white

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

On black

7.43
#958DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958DF7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958DF7#FFFFFF#000000##000000
##958DF71.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#79A2B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #958df7;
/* rgb */ color: rgb(149, 141, 247);
/* oklch */ color: oklch(69.6% 0.152 285.1);
Tailwind
colors: {
  custom: {
    50: '#b8aefa',
    500: '#958df7',
    950: '#000000',
  },
}
SCSS
$custom: #958df7;
$custom-light: #b8aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#958df7",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 244.528,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69609,
    "c": 0.15248,
    "h": 285.1
  },
  "luminance": 0.32155
}

Semantic roles & 50–950 ramp

primary
#958DF7
secondary
#F3F5D6
accent
#E302D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #958DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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