#956EF5#956EF5

#956EF5 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.1% C 0.194 H 293.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#956EF5
RGBrgb(149, 110, 245)
HSLhsl(257, 87%, 70%)
HSVhsv(257, 55%, 96%)
CMYKcmyk(39.2%, 55.1%, 0%, 3.9%)
CIE-LABlab(56.22, 45.19, -62.63)
CIE-LCHlch(56.22, 77.23, 305.81°)
OKLaboklab(64.15% 0.0774 -0.1779)
OKLCHoklch(64.15% 0.194 293.5)
XYZxyz(34.4474, 24.1332, 89.2117)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF5 #CEF56E
analogous
#6E8BF5 #956EF5 #D86EF5
triadic
#956EF5 #F5956E #6EF595
tetradic
#956EF5 #F56E8B #CEF56E #6EF5D8
square
#956EF5 #F56E8B #CEF56E #6EF5D8
split-complementary
#956EF5 #F5D86E #8BF56E
monochromatic
#4A0FDA #6B35F1 #956EF5 #BFA7F9 #E9E1FD

Accessibility & contrast

On white

3.60
#956EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#956EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF5#FFFFFF#000000##000000
##956EF51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88FA
Deuteranopia (green-blind)
#3684F2
Tritanopia (blue-blind)
#7C8BA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ef5;
/* rgb */ color: rgb(149, 110, 245);
/* oklch */ color: oklch(64.1% 0.194 293.5);
Tailwind
colors: {
  custom: {
    50: '#b999f9',
    500: '#956ef5',
    950: '#000000',
  },
}
SCSS
$custom: #956ef5;
$custom-light: #b999f9;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef5",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 257.333,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64145,
    "c": 0.19402,
    "h": 293.5
  },
  "luminance": 0.24134
}

Semantic roles & 50–950 ramp

primary
#956EF5
secondary
#E8F3CC
accent
#E402A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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