#958CE8#958CE8

#958CE8 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.6% C 0.133 H 286.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#958CE8
RGBrgb(149, 140, 232)
HSLhsl(246, 67%, 73%)
HSVhsv(246, 40%, 91%)
CMYKcmyk(35.8%, 39.7%, 0%, 9%)
CIE-LABlab(62.48, 24.59, -45.45)
CIE-LCHlch(62.48, 51.68, 298.42°)
OKLaboklab(68.62% 0.0386 -0.1276)
OKLCHoklch(68.62% 0.133 286.8)
XYZxyz(36.3340, 30.9708, 80.3919)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958CE8 #DFE88C
analogous
#8CB1E8 #958CE8 #C38CE8
triadic
#958CE8 #E8958C #8CE895
tetradic
#958CE8 #E88CB1 #DFE88C #8CE8C3
square
#958CE8 #E88CB1 #DFE88C #8CE8C3
split-complementary
#958CE8 #E8C38C #B1E88C
monochromatic
#3A2AD0 #6659DE #958CE8 #C4BFF2 #E7E5FA

Accessibility & contrast

On white

2.92
#958CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#958CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958CE8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958CE8#FFFFFF#000000##000000
##958CE81.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EC
Deuteranopia (green-blind)
#6D95E6
Tritanopia (blue-blind)
#7F9EAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #958ce8;
/* rgb */ color: rgb(149, 140, 232);
/* oklch */ color: oklch(68.6% 0.133 286.8);
Tailwind
colors: {
  custom: {
    50: '#b7adf0',
    500: '#958ce8',
    950: '#000000',
  },
}
SCSS
$custom: #958ce8;
$custom-light: #b7adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#958ce8",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 245.87,
    "s": 66.667,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68617,
    "c": 0.13331,
    "h": 286.8
  },
  "luminance": 0.30972
}

Semantic roles & 50–950 ramp

primary
#958CE8
secondary
#EFF1DA
accent
#CF17BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #958CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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