#956DE7#956DE7

#956DE7 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.1% C 0.178 H 296.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#956DE7
RGBrgb(149, 109, 231)
HSLhsl(260, 72%, 67%)
HSVhsv(260, 53%, 91%)
CMYKcmyk(35.5%, 52.8%, 0%, 9.4%)
CIE-LABlab(55.17, 42.09, -56.51)
CIE-LCHlch(55.17, 70.46, 306.68°)
OKLaboklab(63.1% 0.0781 -0.16)
OKLCHoklch(63.1% 0.178 296)
XYZxyz(32.2832, 23.0958, 78.3429)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DE7 #BFE76D
analogous
#6D82E7 #956DE7 #D26DE7
triadic
#956DE7 #E7956D #6DE795
tetradic
#956DE7 #E76D82 #BFE76D #6DE7D2
square
#956DE7 #E76D82 #BFE76D #6DE7D2
split-complementary
#956DE7 #E7D26D #82E76D
monochromatic
#521FBB #6F38DE #956DE7 #BBA2F0 #E1D6F8

Accessibility & contrast

On white

3.74
#956DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#956DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DE7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DE7#FFFFFF#000000##000000
##956DE71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#8286A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956de7;
/* rgb */ color: rgb(149, 109, 231);
/* oklch */ color: oklch(63.1% 0.178 296.0);
Tailwind
colors: {
  custom: {
    50: '#b898ef',
    500: '#956de7',
    950: '#000000',
  },
}
SCSS
$custom: #956de7;
$custom-light: #b898ef;
$custom-dark: #000000;
JSON
{
  "hex": "#956de7",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 259.672,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63101,
    "c": 0.17802,
    "h": 296
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#956DE7
secondary
#DFECC4
accent
#D41294
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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