#956BF2#956BF2

#956BF2 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.5% C 0.195 H 294.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#956BF2
RGBrgb(149, 107, 242)
HSLhsl(259, 84%, 68%)
HSVhsv(259, 56%, 95%)
CMYKcmyk(38.4%, 55.8%, 0%, 5.1%)
CIE-LABlab(55.40, 46.06, -62.29)
CIE-LCHlch(55.40, 77.47, 306.48°)
OKLaboklab(63.48% 0.0809 -0.1769)
OKLCHoklch(63.48% 0.195 294.6)
XYZxyz(33.6749, 23.3150, 86.7132)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BF2 #C8F26B
analogous
#6B84F2 #956BF2 #D96BF2
triadic
#956BF2 #F2956B #6BF295
tetradic
#956BF2 #F26B84 #C8F26B #6BF2D9
square
#956BF2 #F26B84 #C8F26B #6BF2D9
split-complementary
#956BF2 #F2D96B #84F26B
monochromatic
#4D12D0 #6D33ED #956BF2 #BDA3F7 #E6DCFC

Accessibility & contrast

On white

3.71
#956BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#956BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BF2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BF2#FFFFFF#000000##000000
##956BF21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F7
Deuteranopia (green-blind)
#3483EF
Tritanopia (blue-blind)
#7E88A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956bf2;
/* rgb */ color: rgb(149, 107, 242);
/* oklch */ color: oklch(63.5% 0.195 294.6);
Tailwind
colors: {
  custom: {
    50: '#b997f7',
    500: '#956bf2',
    950: '#000000',
  },
}
SCSS
$custom: #956bf2;
$custom-light: #b997f7;
$custom-dark: #000000;
JSON
{
  "hex": "#956bf2",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 258.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.19454,
    "h": 294.6
  },
  "luminance": 0.23316
}

Semantic roles & 50–950 ramp

primary
#956BF2
secondary
#E4F1C8
accent
#E0059C
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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