#956DF3#956DF3

#956DF3 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.9% C 0.193 H 294.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#956DF3
RGBrgb(149, 109, 243)
HSLhsl(258, 85%, 69%)
HSVhsv(258, 55%, 95%)
CMYKcmyk(38.7%, 55.1%, 0%, 4.7%)
CIE-LABlab(55.88, 45.22, -62.06)
CIE-LCHlch(55.88, 76.79, 306.08°)
OKLaboklab(63.86% 0.0785 -0.1763)
OKLCHoklch(63.86% 0.193 294)
XYZxyz(34.0365, 23.7971, 87.5767)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF3 #CBF36D
analogous
#6D88F3 #956DF3 #D86DF3
triadic
#956DF3 #F3956D #6DF395
tetradic
#956DF3 #F36D88 #CBF36D #6DF3D8
square
#956DF3 #F36D88 #CBF36D #6DF3D8
split-complementary
#956DF3 #F3D86D #88F36D
monochromatic
#4C11D4 #6C34EE #956DF3 #BEA6F8 #E7DEFC

Accessibility & contrast

On white

3.65
#956DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#956DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF3#FFFFFF#000000##000000
##956DF31.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F7
Deuteranopia (green-blind)
#3784F0
Tritanopia (blue-blind)
#7D89A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956df3;
/* rgb */ color: rgb(149, 109, 243);
/* oklch */ color: oklch(63.9% 0.193 294.0);
Tailwind
colors: {
  custom: {
    50: '#b998f8',
    500: '#956df3',
    950: '#000000',
  },
}
SCSS
$custom: #956df3;
$custom-light: #b998f8;
$custom-dark: #000000;
JSON
{
  "hex": "#956df3",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 257.91,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.19295,
    "h": 294
  },
  "luminance": 0.23798
}

Semantic roles & 50–950 ramp

primary
#956DF3
secondary
#E6F2CA
accent
#E1049F
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DF3

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

Preview Lab → · Contrast checker → · Palette generator →

#956DF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva