#956FFB#956FFB

#956FFB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.7% C 0.200 H 292.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#956FFB
RGBrgb(149, 111, 251)
HSLhsl(256, 95%, 71%)
HSVhsv(256, 56%, 98%)
CMYKcmyk(40.6%, 55.8%, 0%, 1.6%)
CIE-LABlab(56.80, 46.23, -65.01)
CIE-LCHlch(56.80, 79.77, 305.41°)
OKLaboklab(64.69% 0.0763 -0.1849)
OKLCHoklch(64.69% 0.2 292.4)
XYZxyz(35.4867, 24.7225, 94.1503)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FFB #D5FB6F
analogous
#6F8FFB #956FFB #DB6FFB
triadic
#956FFB #FB956F #6FFB95
tetradic
#956FFB #FB6F8F #D5FB6F #6FFBDB
square
#956FFB #FB6F8F #D5FB6F #6FFBDB
split-complementary
#956FFB #FBDB6F #8FFB6F
monochromatic
#4406E9 #6933F9 #956FFB #C1ABFD #E9E1FE

Accessibility & contrast

On white

3.53
#956FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#956FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FFB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FFB#FFFFFF#000000##000000
##956FFB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#2E86F8
Tritanopia (blue-blind)
#798DAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956ffb;
/* rgb */ color: rgb(149, 111, 251);
/* oklch */ color: oklch(64.7% 0.200 292.4);
Tailwind
colors: {
  custom: {
    50: '#ba99fd',
    500: '#956ffb',
    950: '#000000',
  },
}
SCSS
$custom: #956ffb;
$custom-light: #ba99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956ffb",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 256.286,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64693,
    "c": 0.20006,
    "h": 292.4
  },
  "luminance": 0.24723
}

Semantic roles & 50–950 ramp

primary
#956FFB
secondary
#EBF6D0
accent
#E600A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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