#956FE8#956FE8

#956FE8 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.5% C 0.176 H 295.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#956FE8
RGBrgb(149, 111, 232)
HSLhsl(259, 72%, 67%)
HSVhsv(259, 52%, 91%)
CMYKcmyk(35.8%, 52.2%, 0%, 9%)
CIE-LABlab(55.67, 41.22, -56.27)
CIE-LCHlch(55.67, 69.75, 306.23°)
OKLaboklab(63.49% 0.0757 -0.1593)
OKLCHoklch(63.49% 0.176 295.4)
XYZxyz(32.6406, 23.5840, 79.1608)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FE8 #C2E86F
analogous
#6F86E8 #956FE8 #D26FE8
triadic
#956FE8 #E8956F #6FE895
tetradic
#956FE8 #E86F86 #C2E86F #6FE8D2
square
#956FE8 #E86F86 #C2E86F #6FE8D2
split-complementary
#956FE8 #E8D26F #86E86F
monochromatic
#511EBE #6E3AE0 #956FE8 #BCA4F0 #E3D9F9

Accessibility & contrast

On white

3.67
#956FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#956FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FE8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FE8#FFFFFF#000000##000000
##956FE81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EC
Deuteranopia (green-blind)
#4784E5
Tritanopia (blue-blind)
#8187A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956fe8;
/* rgb */ color: rgb(149, 111, 232);
/* oklch */ color: oklch(63.5% 0.176 295.4);
Tailwind
colors: {
  custom: {
    50: '#b899f0',
    500: '#956fe8',
    950: '#000000',
  },
}
SCSS
$custom: #956fe8;
$custom-light: #b899f0;
$custom-dark: #000000;
JSON
{
  "hex": "#956fe8",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 232
  },
  "hsl": {
    "h": 258.843,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63489,
    "c": 0.17634,
    "h": 295.4
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#956FE8
secondary
#E0ECC6
accent
#D51197
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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