#956FEF#956FEF

#956FEF is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.185 H 294.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#956FEF
RGBrgb(149, 111, 239)
HSLhsl(258, 80%, 69%)
HSVhsv(258, 54%, 94%)
CMYKcmyk(37.7%, 53.6%, 0%, 6.3%)
CIE-LABlab(56.08, 43.05, -59.52)
CIE-LCHlch(56.08, 73.46, 305.88°)
OKLaboklab(63.92% 0.076 -0.1688)
OKLCHoklch(63.92% 0.185 294.2)
XYZxyz(33.6548, 23.9897, 84.5019)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FEF #C9EF6F
analogous
#6F89EF #956FEF #D56FEF
triadic
#956FEF #EF956F #6FEF95
tetradic
#956FEF #EF6F89 #C9EF6F #6FEFD5
square
#956FEF #EF6F89 #C9EF6F #6FEFD5
split-complementary
#956FEF #EFD56F #89EF6F
monochromatic
#4D17CD #6C38E9 #956FEF #BEA6F5 #E6DDFB

Accessibility & contrast

On white

3.62
#956FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#956FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FEF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FEF#FFFFFF#000000##000000
##956FEF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#7F89A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956fef;
/* rgb */ color: rgb(149, 111, 239);
/* oklch */ color: oklch(63.9% 0.185 294.2);
Tailwind
colors: {
  custom: {
    50: '#b999f5',
    500: '#956fef',
    950: '#000000',
  },
}
SCSS
$custom: #956fef;
$custom-light: #b999f5;
$custom-dark: #000000;
JSON
{
  "hex": "#956fef",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 257.813,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63923,
    "c": 0.18514,
    "h": 294.2
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#956FEF
secondary
#E5F0CA
accent
#DC099E
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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