#956EFE#956EFE

#956EFE is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.7% C 0.205 H 292.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#956EFE
RGBrgb(149, 110, 254)
HSLhsl(256, 99%, 71%)
HSVhsv(256, 57%, 100%)
CMYKcmyk(41.3%, 56.7%, 0%, 0.4%)
CIE-LABlab(56.78, 47.58, -66.71)
CIE-LCHlch(56.78, 81.94, 305.50°)
OKLaboklab(64.73% 0.0774 -0.1899)
OKLCHoklch(64.73% 0.205 292.2)
XYZxyz(35.8549, 24.6961, 96.6244)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EFE #D7FE6E
analogous
#6E8FFE #956EFE #DD6EFE
triadic
#956EFE #FE956E #6EFE95
tetradic
#956EFE #FE6E8F #D7FE6E #6EFEDD
square
#956EFE #FE6E8F #D7FE6E #6EFEDD
split-complementary
#956EFE #FEDD6E #8FFE6E
monochromatic
#4202F0 #6931FE #956EFE #C1ABFE #E9E1FF

Accessibility & contrast

On white

3.54
#956EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#956EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EFE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EFE#FFFFFF#000000##000000
##956EFE1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#148AFF
Deuteranopia (green-blind)
#2585FB
Tritanopia (blue-blind)
#788DAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956efe;
/* rgb */ color: rgb(149, 110, 254);
/* oklch */ color: oklch(64.7% 0.205 292.2);
Tailwind
colors: {
  custom: {
    50: '#ba99ff',
    500: '#956efe',
    950: '#000000',
  },
}
SCSS
$custom: #956efe;
$custom-light: #ba99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956efe",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 256.25,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64734,
    "c": 0.20511,
    "h": 292.2
  },
  "luminance": 0.24697
}

Semantic roles & 50–950 ramp

primary
#956EFE
secondary
#ECF7D1
accent
#E600A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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