#956EFD#956EFD

#956EFD is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.7% C 0.204 H 292.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#956EFD
RGBrgb(149, 110, 253)
HSLhsl(256, 97%, 71%)
HSVhsv(256, 57%, 99%)
CMYKcmyk(41.1%, 56.5%, 0%, 0.8%)
CIE-LABlab(56.72, 47.31, -66.26)
CIE-LCHlch(56.72, 81.42, 305.53°)
OKLaboklab(64.67% 0.0774 -0.1886)
OKLCHoklch(64.67% 0.204 292.3)
XYZxyz(35.6952, 24.6323, 95.7833)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EFD #D6FD6E
analogous
#6E8EFD #956EFD #DD6EFD
triadic
#956EFD #FD956E #6EFD95
tetradic
#956EFD #FD6E8E #D6FD6E #6EFDDD
square
#956EFD #FD6E8E #D6FD6E #6EFDDD
split-complementary
#956EFD #FDDD6E #8EFD6E
monochromatic
#4303ED #6932FC #956EFD #C1AAFE #E9E1FF

Accessibility & contrast

On white

3.54
#956EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#956EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EFD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EFD#FFFFFF#000000##000000
##956EFD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#178AFF
Deuteranopia (green-blind)
#2785FA
Tritanopia (blue-blind)
#798DAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956efd;
/* rgb */ color: rgb(149, 110, 253);
/* oklch */ color: oklch(64.7% 0.204 292.3);
Tailwind
colors: {
  custom: {
    50: '#ba99ff',
    500: '#956efd',
    950: '#000000',
  },
}
SCSS
$custom: #956efd;
$custom-light: #ba99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956efd",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 256.364,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.20389,
    "h": 292.3
  },
  "luminance": 0.24633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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