#956FBE#956FBE

#956FBE is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.1% C 0.122 H 305.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#956FBE
RGBrgb(149, 111, 190)
HSLhsl(269, 38%, 59%)
HSVhsv(269, 42%, 75%)
CMYKcmyk(21.6%, 41.6%, 0%, 25.5%)
CIE-LABlab(53.47, 30.76, -35.97)
CIE-LCHlch(53.47, 47.32, 310.54°)
OKLaboklab(61.13% 0.0706 -0.1001)
OKLCHoklch(61.13% 0.122 305.2)
XYZxyz(27.3712, 21.4763, 51.4086)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FBE #98BE6F
analogous
#6F71BE #956FBE #BD6FBE
triadic
#956FBE #BE956F #6FBE95
tetradic
#956FBE #BE6F71 #98BE6F #6FBEBD
square
#956FBE #BE6F71 #98BE6F #6FBEBD
split-complementary
#956FBE #BEBD6F #71BE6F
monochromatic
#58387B #764BA5 #956FBE #B499D1 #D3C3E4

Accessibility & contrast

On white

3.97
#956FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#956FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FBE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FBE#FFFFFF#000000##000000
##956FBE1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC1
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#8F7C8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956fbe;
/* rgb */ color: rgb(149, 111, 190);
/* oklch */ color: oklch(61.1% 0.122 305.2);
Tailwind
colors: {
  custom: {
    50: '#b599d2',
    500: '#956fbe',
    950: '#000000',
  },
}
SCSS
$custom: #956fbe;
$custom-light: #b599d2;
$custom-dark: #000000;
JSON
{
  "hex": "#956fbe",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 268.861,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61126,
    "c": 0.12248,
    "h": 305.2
  },
  "luminance": 0.21476
}

Semantic roles & 50–950 ramp

primary
#956FBE
secondary
#C5D4B5
accent
#CE5A96
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #956FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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