#956DFA#956DFA

#956DFA is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.3% C 0.202 H 292.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#956DFA
RGBrgb(149, 109, 250)
HSLhsl(257, 93%, 70%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(40.4%, 56.4%, 0%, 2%)
CIE-LABlab(56.32, 47.07, -65.25)
CIE-LCHlch(56.32, 80.45, 305.80°)
OKLaboklab(64.31% 0.0786 -0.1856)
OKLCHoklch(64.31% 0.202 292.9)
XYZxyz(35.1137, 24.2280, 93.2504)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DFA #D2FA6D
analogous
#6D8CFA #956DFA #DB6DFA
triadic
#956DFA #FA956D #6DFA95
tetradic
#956DFA #FA6D8C #D2FA6D #6DFADB
square
#956DFA #FA6D8C #D2FA6D #6DFADB
split-complementary
#956DFA #FADB6D #8CFA6D
monochromatic
#4708E5 #6A32F8 #956DFA #C0A8FC #EAE1FE

Accessibility & contrast

On white

3.59
#956DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#956DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DFA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DFA#FFFFFF#000000##000000
##956DFA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B89FF
Deuteranopia (green-blind)
#2B84F7
Tritanopia (blue-blind)
#7A8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956dfa;
/* rgb */ color: rgb(149, 109, 250);
/* oklch */ color: oklch(64.3% 0.202 292.9);
Tailwind
colors: {
  custom: {
    50: '#ba98fd',
    500: '#956dfa',
    950: '#000000',
  },
}
SCSS
$custom: #956dfa;
$custom-light: #ba98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956dfa",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 257.021,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64313,
    "c": 0.20157,
    "h": 292.9
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#956DFA
secondary
#EAF5CE
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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