#956CF2#956CF2

#956CF2 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.6% C 0.193 H 294.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#956CF2
RGBrgb(149, 108, 242)
HSLhsl(258, 84%, 69%)
HSVhsv(258, 55%, 95%)
CMYKcmyk(38.4%, 55.4%, 0%, 5.1%)
CIE-LABlab(55.61, 45.51, -61.95)
CIE-LCHlch(55.61, 76.87, 306.30°)
OKLaboklab(63.64% 0.0797 -0.1759)
OKLCHoklch(63.64% 0.193 294.4)
XYZxyz(33.7798, 23.5247, 86.7482)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CF2 #C9F26C
analogous
#6C86F2 #956CF2 #D86CF2
triadic
#956CF2 #F2956C #6CF295
tetradic
#956CF2 #F26C86 #C9F26C #6CF2D8
square
#956CF2 #F26C86 #C9F26C #6CF2D8
split-complementary
#956CF2 #F2D86C #86F26C
monochromatic
#4D12D1 #6C34ED #956CF2 #BEA4F7 #E6DCFC

Accessibility & contrast

On white

3.68
#956CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#956CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CF2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CF2#FFFFFF#000000##000000
##956CF21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F6
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#7E88A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956cf2;
/* rgb */ color: rgb(149, 108, 242);
/* oklch */ color: oklch(63.6% 0.193 294.4);
Tailwind
colors: {
  custom: {
    50: '#b997f7',
    500: '#956cf2',
    950: '#000000',
  },
}
SCSS
$custom: #956cf2;
$custom-light: #b997f7;
$custom-dark: #000000;
JSON
{
  "hex": "#956cf2",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 258.358,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.19313,
    "h": 294.4
  },
  "luminance": 0.23525
}

Semantic roles & 50–950 ramp

primary
#956CF2
secondary
#E5F1C9
accent
#E0059D
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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