#956ECF#956ECF

#956ECF is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.146 H 300.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#956ECF
RGBrgb(149, 110, 207)
HSLhsl(264, 50%, 62%)
HSVhsv(264, 47%, 81%)
CMYKcmyk(28%, 46.9%, 0%, 18.8%)
CIE-LABlab(54.08, 35.44, -44.71)
CIE-LCHlch(54.08, 57.06, 308.40°)
OKLaboklab(61.86% 0.0747 -0.1255)
OKLCHoklch(61.86% 0.146 300.8)
XYZxyz(29.2303, 22.0463, 61.7348)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956ECF #A8CF6E
analogous
#6E78CF #956ECF #C66ECF
triadic
#956ECF #CF956E #6ECF95
tetradic
#956ECF #CF6E78 #A8CF6E #6ECFC6
square
#956ECF #CF6E78 #A8CF6E #6ECFC6
split-complementary
#956ECF #CFC66E #78CF6E
monochromatic
#583092 #7340C0 #956ECF #B79CDE #D8CAED

Accessibility & contrast

On white

3.88
#956ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#956ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956ECF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956ECF#FFFFFF#000000##000000
##956ECF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#8A7F95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956ecf;
/* rgb */ color: rgb(149, 110, 207);
/* oklch */ color: oklch(61.9% 0.146 300.8);
Tailwind
colors: {
  custom: {
    50: '#b698de',
    500: '#956ecf',
    950: '#000000',
  },
}
SCSS
$custom: #956ecf;
$custom-light: #b698de;
$custom-dark: #000000;
JSON
{
  "hex": "#956ecf",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 264.124,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.14602,
    "h": 300.8
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#956ECF
secondary
#D0DEBB
accent
#BE2881
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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