#956FDC#956FDC

#956FDC is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.8% C 0.161 H 297.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#956FDC
RGBrgb(149, 111, 220)
HSLhsl(261, 61%, 65%)
HSVhsv(261, 50%, 86%)
CMYKcmyk(32.3%, 49.5%, 0%, 13.7%)
CIE-LABlab(55.00, 38.14, -50.61)
CIE-LCHlch(55.00, 63.37, 307.00°)
OKLaboklab(62.77% 0.0748 -0.1427)
OKLCHoklch(62.77% 0.161 297.7)
XYZxyz(30.9940, 22.9254, 70.4884)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FDC #B6DC6F
analogous
#6F80DC #956FDC #CB6FDC
triadic
#956FDC #DC956F #6FDC95
tetradic
#956FDC #DC6F80 #B6DC6F #6FDCCB
square
#956FDC #DC6F80 #B6DC6F #6FDCCB
split-complementary
#956FDC #DCCB6F #80DC6F
monochromatic
#5529A8 #713ED0 #956FDC #B9A0E8 #DDD1F4

Accessibility & contrast

On white

3.76
#956FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#956FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FDC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FDC#FFFFFF#000000##000000
##956FDC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#86849B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956fdc;
/* rgb */ color: rgb(149, 111, 220);
/* oklch */ color: oklch(62.8% 0.161 297.7);
Tailwind
colors: {
  custom: {
    50: '#b799e7',
    500: '#956fdc',
    950: '#000000',
  },
}
SCSS
$custom: #956fdc;
$custom-light: #b799e7;
$custom-dark: #000000;
JSON
{
  "hex": "#956fdc",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 260.917,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.1611,
    "h": 297.7
  },
  "luminance": 0.22926
}

Semantic roles & 50–950 ramp

primary
#956FDC
secondary
#D9E6C1
accent
#C91D8D
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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