#958CDF#958CDF

#958CDF is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.121 H 287.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#958CDF
RGBrgb(149, 140, 223)
HSLhsl(247, 56%, 71%)
HSVhsv(247, 37%, 87%)
CMYKcmyk(33.2%, 37.2%, 0%, 12.5%)
CIE-LABlab(62.06, 22.22, -41.12)
CIE-LCHlch(62.06, 46.74, 298.38°)
OKLaboklab(68.16% 0.0368 -0.115)
OKLCHoklch(68.16% 0.121 287.7)
XYZxyz(35.0882, 30.4725, 73.8308)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958CDF #D6DF8C
analogous
#8CACDF #958CDF #BE8CDF
triadic
#958CDF #DF958C #8CDF95
tetradic
#958CDF #DF8CAC #D6DF8C #8CDFBE
square
#958CDF #DF8CAC #D6DF8C #8CDFBE
split-complementary
#958CDF #DFBE8C #ACDF8C
monochromatic
#4334BC #695CD2 #958CDF #C1BCEC #E9E7F8

Accessibility & contrast

On white

2.96
#958CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#958CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958CDF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958CDF#FFFFFF#000000##000000
##958CDF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#839BAB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #958cdf;
/* rgb */ color: rgb(149, 140, 223);
/* oklch */ color: oklch(68.2% 0.121 287.7);
Tailwind
colors: {
  custom: {
    50: '#b6ade9',
    500: '#958cdf',
    950: '#000000',
  },
}
SCSS
$custom: #958cdf;
$custom-light: #b6ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#958cdf",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 246.506,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.12077,
    "h": 287.7
  },
  "luminance": 0.30473
}

Semantic roles & 50–950 ramp

primary
#958CDF
secondary
#ECEED8
accent
#C421B2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #958CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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