#956EF1#956EF1

#956EF1 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.9% C 0.189 H 294.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#956EF1
RGBrgb(149, 110, 241)
HSLhsl(258, 82%, 69%)
HSVhsv(258, 54%, 95%)
CMYKcmyk(38.2%, 54.4%, 0%, 5.5%)
CIE-LABlab(55.98, 44.14, -60.79)
CIE-LCHlch(55.98, 75.13, 305.98°)
OKLaboklab(63.89% 0.0773 -0.1725)
OKLCHoklch(63.89% 0.189 294.1)
XYZxyz(33.8434, 23.8915, 86.0305)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF1 #CAF16E
analogous
#6E89F1 #956EF1 #D76EF1
triadic
#956EF1 #F1956E #6EF195
tetradic
#956EF1 #F16E89 #CAF16E #6EF1D7
square
#956EF1 #F16E89 #CAF16E #6EF1D7
split-complementary
#956EF1 #F1D76E #89F16E
monochromatic
#4C14D0 #6C36EC #956EF1 #BEA6F6 #E7DEFC

Accessibility & contrast

On white

3.63
#956EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#956EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF1#FFFFFF#000000##000000
##956EF11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F5
Deuteranopia (green-blind)
#3B84EE
Tritanopia (blue-blind)
#7E89A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956ef1;
/* rgb */ color: rgb(149, 110, 241);
/* oklch */ color: oklch(63.9% 0.189 294.1);
Tailwind
colors: {
  custom: {
    50: '#b999f6',
    500: '#956ef1',
    950: '#000000',
  },
}
SCSS
$custom: #956ef1;
$custom-light: #b999f6;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef1",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 257.863,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.18907,
    "h": 294.1
  },
  "luminance": 0.23892
}

Semantic roles & 50–950 ramp

primary
#956EF1
secondary
#E5F1CA
accent
#DF079E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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