#956ECA#956ECA

#956ECA is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.6% C 0.140 H 302.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#956ECA
RGBrgb(149, 110, 202)
HSLhsl(265, 46%, 61%)
HSVhsv(265, 46%, 79%)
CMYKcmyk(26.2%, 45.5%, 0%, 20.8%)
CIE-LABlab(53.82, 34.22, -42.27)
CIE-LCHlch(53.82, 54.38, 308.99°)
OKLaboklab(61.58% 0.074 -0.1183)
OKLCHoklch(61.58% 0.14 302)
XYZxyz(28.6287, 21.8057, 58.5663)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956ECA #A3CA6E
analogous
#6E75CA #956ECA #C36ECA
triadic
#956ECA #CA956E #6ECA95
tetradic
#956ECA #CA6E75 #A3CA6E #6ECAC3
square
#956ECA #CA6E75 #A3CA6E #6ECAC3
split-complementary
#956ECA #CAC36E #75CA6E
monochromatic
#58338B #7543B8 #956ECA #B69BDA #D7C8EB

Accessibility & contrast

On white

3.92
#956ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#956ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956ECA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956ECA#FFFFFF#000000##000000
##956ECA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#5D80C8
Tritanopia (blue-blind)
#8B7E92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956eca;
/* rgb */ color: rgb(149, 110, 202);
/* oklch */ color: oklch(61.6% 0.140 302.0);
Tailwind
colors: {
  custom: {
    50: '#b698da',
    500: '#956eca',
    950: '#000000',
  },
}
SCSS
$custom: #956eca;
$custom-light: #b698da;
$custom-dark: #000000;
JSON
{
  "hex": "#956eca",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 265.435,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.1396,
    "h": 302
  },
  "luminance": 0.21806
}

Semantic roles & 50–950 ramp

primary
#956ECA
secondary
#CDDBB9
accent
#BA2C7E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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