#956FD2#956FD2

#956FD2 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.2% C 0.148 H 299.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#956FD2
RGBrgb(149, 111, 210)
HSLhsl(263, 52%, 63%)
HSVhsv(263, 47%, 82%)
CMYKcmyk(29%, 47.1%, 0%, 17.6%)
CIE-LABlab(54.46, 35.62, -45.81)
CIE-LCHlch(54.46, 58.02, 307.87°)
OKLaboklab(62.2% 0.0737 -0.1286)
OKLCHoklch(62.2% 0.148 299.8)
XYZxyz(29.7090, 22.4114, 63.7209)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FD2 #ACD26F
analogous
#6F7AD2 #956FD2 #C66FD2
triadic
#956FD2 #D2956F #6FD295
tetradic
#956FD2 #D26F7A #ACD26F #6FD2C6
square
#956FD2 #D26F7A #ACD26F #6FD2C6
split-complementary
#956FD2 #D2C66F #7AD26F
monochromatic
#572F97 #7340C3 #956FD2 #B79EE1 #DACCEF

Accessibility & contrast

On white

3.83
#956FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#956FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FD2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FD2#FFFFFF#000000##000000
##956FD21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#5982D0
Tritanopia (blue-blind)
#898196
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956fd2;
/* rgb */ color: rgb(149, 111, 210);
/* oklch */ color: oklch(62.2% 0.148 299.8);
Tailwind
colors: {
  custom: {
    50: '#b799e0',
    500: '#956fd2',
    950: '#000000',
  },
}
SCSS
$custom: #956fd2;
$custom-light: #b799e0;
$custom-dark: #000000;
JSON
{
  "hex": "#956fd2",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 263.03,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62197,
    "c": 0.14828,
    "h": 299.8
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

primary
#956FD2
secondary
#D3E0BD
accent
#C02685
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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