#956EFB#956EFB

#956EFB is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 64.5% C 0.201 H 292.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#956EFB
RGBrgb(149, 110, 251)
HSLhsl(257, 95%, 71%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(40.6%, 56.2%, 0%, 1.6%)
CIE-LABlab(56.59, 46.78, -65.36)
CIE-LCHlch(56.59, 80.37, 305.59°)
OKLaboklab(64.54% 0.0774 -0.186)
OKLCHoklch(64.54% 0.201 292.6)
XYZxyz(35.3782, 24.5055, 94.1141)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EFB #D4FB6E
analogous
#6E8DFB #956EFB #DC6EFB
triadic
#956EFB #FB956E #6EFB95
tetradic
#956EFB #FB6E8D #D4FB6E #6EFBDC
square
#956EFB #FB6E8D #D4FB6E #6EFBDC
split-complementary
#956EFB #FBDC6E #8DFB6E
monochromatic
#4506E8 #6932F9 #956EFB #C1AAFD #E9E1FE

Accessibility & contrast

On white

3.56
#956EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#956EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EFB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EFB#FFFFFF#000000##000000
##956EFB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#2C85F8
Tritanopia (blue-blind)
#7A8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956efb;
/* rgb */ color: rgb(149, 110, 251);
/* oklch */ color: oklch(64.5% 0.201 292.6);
Tailwind
colors: {
  custom: {
    50: '#ba99fd',
    500: '#956efb',
    950: '#000000',
  },
}
SCSS
$custom: #956efb;
$custom-light: #ba99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956efb",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 256.596,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64535,
    "c": 0.20143,
    "h": 292.6
  },
  "luminance": 0.24506
}

Semantic roles & 50–950 ramp

primary
#956EFB
secondary
#EBF5CF
accent
#E600A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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