#956EB2#956EB2

#956EB2 is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.4% C 0.109 H 309.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#956EB2
RGBrgb(149, 110, 178)
HSLhsl(274, 31%, 56%)
HSVhsv(274, 38%, 70%)
CMYKcmyk(16.3%, 38.2%, 0%, 30.2%)
CIE-LABlab(52.68, 28.55, -30.28)
CIE-LCHlch(52.68, 41.62, 313.32°)
OKLaboklab(60.35% 0.0697 -0.0837)
OKLCHoklch(60.35% 0.109 309.8)
XYZxyz(26.0048, 20.7561, 44.7472)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EB2 #8BB26E
analogous
#736EB2 #956EB2 #B26EAD
triadic
#956EB2 #B2956E #6EB295
tetradic
#956EB2 #B2736E #8BB26E #6EADB2
square
#956EB2 #B2736E #8BB26E #6EADB2
split-complementary
#956EB2 #ADB26E #6EB273
monochromatic
#57396C #774F94 #956EB2 #B296C7 #CFBEDC

Accessibility & contrast

On white

4.08
#956EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#956EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EB2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EB2#FFFFFF#000000##000000
##956EB21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#6A7EB0
Tritanopia (blue-blind)
#927888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956eb2;
/* rgb */ color: rgb(149, 110, 178);
/* oklch */ color: oklch(60.4% 0.109 309.8);
Tailwind
colors: {
  custom: {
    50: '#b598c9',
    500: '#956eb2',
    950: '#000000',
  },
}
SCSS
$custom: #956eb2;
$custom-light: #b598c9;
$custom-dark: #000000;
JSON
{
  "hex": "#956eb2",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 274.412,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.10887,
    "h": 309.8
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#956EB2
secondary
#BCCCB0
accent
#C7618C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #956EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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