#956FFE#956FFE

#956FFE is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 64.9% C 0.204 H 292.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#956FFE
RGBrgb(149, 111, 254)
HSLhsl(256, 99%, 72%)
HSVhsv(256, 56%, 100%)
CMYKcmyk(41.3%, 56.3%, 0%, 0.4%)
CIE-LABlab(56.99, 47.03, -66.37)
CIE-LCHlch(56.99, 81.34, 305.32°)
OKLaboklab(64.89% 0.0763 -0.1889)
OKLCHoklch(64.89% 0.204 292)
XYZxyz(35.9634, 24.9132, 96.6606)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FFE #D8FE6F
analogous
#6F91FE #956FFE #DD6FFE
triadic
#956FFE #FE956F #6FFE95
tetradic
#956FFE #FE6F91 #D8FE6F #6FFEDD
square
#956FFE #FE6F91 #D8FE6F #6FFEDD
split-complementary
#956FFE #FEDD6F #91FE6F
monochromatic
#4102F1 #6832FE #956FFE #C2ACFE #E9E1FF

Accessibility & contrast

On white

3.51
#956FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#956FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FFE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FFE#FFFFFF#000000##000000
##956FFE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8BFF
Deuteranopia (green-blind)
#2886FB
Tritanopia (blue-blind)
#788EAC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #956ffe;
/* rgb */ color: rgb(149, 111, 254);
/* oklch */ color: oklch(64.9% 0.204 292.0);
Tailwind
colors: {
  custom: {
    50: '#ba99ff',
    500: '#956ffe',
    950: '#000000',
  },
}
SCSS
$custom: #956ffe;
$custom-light: #ba99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956ffe",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 255.944,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6489,
    "c": 0.20375,
    "h": 292
  },
  "luminance": 0.24914
}

Semantic roles & 50–950 ramp

primary
#956FFE
secondary
#EDF7D2
accent
#E600A9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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