#956FD3#956FD3

#956FD3 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.3% C 0.150 H 299.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#956FD3
RGBrgb(149, 111, 211)
HSLhsl(263, 53%, 63%)
HSVhsv(263, 47%, 83%)
CMYKcmyk(29.4%, 47.4%, 0%, 17.3%)
CIE-LABlab(54.51, 35.87, -46.29)
CIE-LCHlch(54.51, 58.56, 307.77°)
OKLaboklab(62.25% 0.0739 -0.1301)
OKLCHoklch(62.25% 0.15 299.6)
XYZxyz(29.8340, 22.4614, 64.3791)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FD3 #ADD36F
analogous
#6F7BD3 #956FD3 #C76FD3
triadic
#956FD3 #D3956F #6FD395
tetradic
#956FD3 #D36F7B #ADD36F #6FD3C7
square
#956FD3 #D36F7B #ADD36F #6FD3C7
split-complementary
#956FD3 #D3C76F #7BD36F
monochromatic
#572F99 #7240C5 #956FD3 #B89EE1 #DACDF0

Accessibility & contrast

On white

3.82
#956FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#956FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FD3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FD3#FFFFFF#000000##000000
##956FD31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D7
Deuteranopia (green-blind)
#5882D1
Tritanopia (blue-blind)
#898197
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956fd3;
/* rgb */ color: rgb(149, 111, 211);
/* oklch */ color: oklch(62.3% 0.150 299.6);
Tailwind
colors: {
  custom: {
    50: '#b799e1',
    500: '#956fd3',
    950: '#000000',
  },
}
SCSS
$custom: #956fd3;
$custom-light: #b799e1;
$custom-dark: #000000;
JSON
{
  "hex": "#956fd3",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 262.8,
    "s": 53.191,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62253,
    "c": 0.14956,
    "h": 299.6
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

primary
#956FD3
secondary
#D3E1BD
accent
#C12585
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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