#956CF8#956CF8

#956CF8 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.0% C 0.201 H 293.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#956CF8
RGBrgb(149, 108, 248)
HSLhsl(258, 91%, 70%)
HSVhsv(258, 56%, 97%)
CMYKcmyk(39.9%, 56.5%, 0%, 2.7%)
CIE-LABlab(55.98, 47.09, -64.68)
CIE-LCHlch(55.98, 80.01, 306.05°)
OKLaboklab(64.03% 0.0797 -0.184)
OKLCHoklch(64.03% 0.201 293.4)
XYZxyz(34.6957, 23.8911, 91.5722)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CF8 #CFF86C
analogous
#6C89F8 #956CF8 #DB6CF8
triadic
#956CF8 #F8956C #6CF895
tetradic
#956CF8 #F86C89 #CFF86C #6CF8DB
square
#956CF8 #F86C89 #CFF86C #6CF8DB
split-complementary
#956CF8 #F8DB6C #89F86C
monochromatic
#490BDF #6B32F5 #956CF8 #BFA6FB #E9E1FE

Accessibility & contrast

On white

3.63
#956CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#956CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CF8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CF8#FFFFFF#000000##000000
##956CF81.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C88FD
Deuteranopia (green-blind)
#2C84F5
Tritanopia (blue-blind)
#7B8AA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956cf8;
/* rgb */ color: rgb(149, 108, 248);
/* oklch */ color: oklch(64.0% 0.201 293.4);
Tailwind
colors: {
  custom: {
    50: '#ba97fb',
    500: '#956cf8',
    950: '#000000',
  },
}
SCSS
$custom: #956cf8;
$custom-light: #ba97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956cf8",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 257.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64025,
    "c": 0.2005,
    "h": 293.4
  },
  "luminance": 0.23892
}

Semantic roles & 50–950 ramp

primary
#956CF8
secondary
#E8F4CC
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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