#956BFB#956BFB

#956BFB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.1% C 0.206 H 293.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#956BFB
RGBrgb(149, 107, 251)
HSLhsl(258, 95%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(40.6%, 57.4%, 0%, 1.6%)
CIE-LABlab(55.96, 48.43, -66.38)
CIE-LCHlch(55.96, 82.17, 306.11°)
OKLaboklab(64.07% 0.0808 -0.189)
OKLCHoklch(64.07% 0.206 293.2)
XYZxyz(35.0600, 23.8691, 94.0080)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BFB #D1FB6B
analogous
#6B89FB #956BFB #DD6BFB
triadic
#956BFB #FB956B #6BFB95
tetradic
#956BFB #FB6B89 #D1FB6B #6BFBDD
square
#956BFB #FB6B89 #D1FB6B #6BFBDD
split-complementary
#956BFB #FBDD6B #89FB6B
monochromatic
#4706E5 #6A2FF9 #956BFB #C0A7FD #EAE1FE

Accessibility & contrast

On white

3.64
#956BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#956BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BFB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BFB#FFFFFF#000000##000000
##956BFB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A88FF
Deuteranopia (green-blind)
#2383F8
Tritanopia (blue-blind)
#7A8AA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956bfb;
/* rgb */ color: rgb(149, 107, 251);
/* oklch */ color: oklch(64.1% 0.206 293.2);
Tailwind
colors: {
  custom: {
    50: '#ba97fd',
    500: '#956bfb',
    950: '#000000',
  },
}
SCSS
$custom: #956bfb;
$custom-light: #ba97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956bfb",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 257.5,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64069,
    "c": 0.20552,
    "h": 293.2
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#956BFB
secondary
#E9F5CD
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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