#956FFD#956FFD

#956FFD is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 64.8% C 0.203 H 292.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#956FFD
RGBrgb(149, 111, 253)
HSLhsl(256, 97%, 71%)
HSVhsv(256, 56%, 99%)
CMYKcmyk(41.1%, 56.1%, 0%, 0.8%)
CIE-LABlab(56.93, 46.76, -65.92)
CIE-LCHlch(56.93, 80.82, 305.35°)
OKLaboklab(64.82% 0.0763 -0.1876)
OKLCHoklch(64.82% 0.203 292.1)
XYZxyz(35.8037, 24.8493, 95.8194)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FFD #D7FD6F
analogous
#6F90FD #956FFD #DC6FFD
triadic
#956FFD #FD956F #6FFD95
tetradic
#956FFD #FD6F90 #D7FD6F #6FFDDC
square
#956FFD #FD6F90 #D7FD6F #6FFDDC
split-complementary
#956FFD #FDDC6F #90FD6F
monochromatic
#4203EE #6933FC #956FFD #C1ABFE #E9E1FF

Accessibility & contrast

On white

3.52
#956FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#956FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FFD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FFD#FFFFFF#000000##000000
##956FFD1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#2A86FA
Tritanopia (blue-blind)
#798EAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #956ffd;
/* rgb */ color: rgb(149, 111, 253);
/* oklch */ color: oklch(64.8% 0.203 292.1);
Tailwind
colors: {
  custom: {
    50: '#ba99ff',
    500: '#956ffd',
    950: '#000000',
  },
}
SCSS
$custom: #956ffd;
$custom-light: #ba99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956ffd",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 256.056,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64824,
    "c": 0.20252,
    "h": 292.1
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#956FFD
secondary
#ECF6D1
accent
#E600A8
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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