#958CF3#958CF3

#958CF3 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.148 H 285.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#958CF3
RGBrgb(149, 140, 243)
HSLhsl(245, 81%, 75%)
HSVhsv(245, 42%, 95%)
CMYKcmyk(38.7%, 42.4%, 0%, 4.7%)
CIE-LABlab(63.02, 27.55, -50.67)
CIE-LCHlch(63.02, 57.67, 298.53°)
OKLaboklab(69.21% 0.0405 -0.1428)
OKLCHoklch(69.21% 0.148 285.8)
XYZxyz(37.9456, 31.6155, 88.8797)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958CF3 #EAF38C
analogous
#8CB6F3 #958CF3 #C98CF3
triadic
#958CF3 #F3958C #8CF395
tetradic
#958CF3 #F38CB6 #EAF38C #8CF3C9
square
#958CF3 #F38CB6 #EAF38C #8CF3C9
split-complementary
#958CF3 #F3C98C #B6F38C
monochromatic
#2F1DE7 #6255ED #958CF3 #C8C3F9 #E5E3FC

Accessibility & contrast

On white

2.87
#958CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#958CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #958CF3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958CF3#FFFFFF#000000##000000
##958CF31.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF7
Deuteranopia (green-blind)
#6696F1
Tritanopia (blue-blind)
#7BA0B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #958cf3;
/* rgb */ color: rgb(149, 140, 243);
/* oklch */ color: oklch(69.2% 0.148 285.8);
Tailwind
colors: {
  custom: {
    50: '#b8adf7',
    500: '#958cf3',
    950: '#000000',
  },
}
SCSS
$custom: #958cf3;
$custom-light: #b8adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#958cf3",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 245.243,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69205,
    "c": 0.14844,
    "h": 285.8
  },
  "luminance": 0.31617
}

Semantic roles & 50–950 ramp

primary
#958CF3
secondary
#F1F4D7
accent
#DD08CB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #958CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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