#956AFD#956AFD

#956AFD is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.1% C 0.209 H 293.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#956AFD
RGBrgb(149, 106, 253)
HSLhsl(258, 97%, 70%)
HSVhsv(258, 58%, 99%)
CMYKcmyk(41.1%, 58.1%, 0%, 0.8%)
CIE-LABlab(55.88, 49.50, -67.62)
CIE-LCHlch(55.88, 83.80, 306.21°)
OKLaboklab(64.05% 0.0819 -0.1926)
OKLCHoklch(64.05% 0.209 293)
XYZxyz(35.2733, 23.7885, 95.6426)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AFD #D2FD6A
analogous
#6A88FD #956AFD #DE6AFD
triadic
#956AFD #FD956A #6AFD95
tetradic
#956AFD #FD6A88 #D2FD6A #6AFDDE
square
#956AFD #FD6A88 #D2FD6A #6AFDDE
split-complementary
#956AFD #FDDE6A #88FD6A
monochromatic
#4703E9 #6A2EFC #956AFD #C0A6FE #EAE1FF

Accessibility & contrast

On white

3.65
#956AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#956AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AFD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AFD#FFFFFF#000000##000000
##956AFD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1A83FA
Tritanopia (blue-blind)
#798AAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956afd;
/* rgb */ color: rgb(149, 106, 253);
/* oklch */ color: oklch(64.1% 0.209 293.0);
Tailwind
colors: {
  custom: {
    50: '#ba96ff',
    500: '#956afd',
    950: '#000000',
  },
}
SCSS
$custom: #956afd;
$custom-light: #ba96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956afd",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 257.551,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.20929,
    "h": 293
  },
  "luminance": 0.23789
}

Semantic roles & 50–950 ramp

primary
#956AFD
secondary
#EAF6CD
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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