#956EF6#956EF6

#956EF6 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.195 H 293.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#956EF6
RGBrgb(149, 110, 246)
HSLhsl(257, 88%, 70%)
HSVhsv(257, 55%, 96%)
CMYKcmyk(39.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(56.28, 45.45, -63.09)
CIE-LCHlch(56.28, 77.75, 305.77°)
OKLaboklab(64.21% 0.0774 -0.1793)
OKLCHoklch(64.21% 0.195 293.3)
XYZxyz(34.6005, 24.1944, 90.0179)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF6 #CFF66E
analogous
#6E8BF6 #956EF6 #D96EF6
triadic
#956EF6 #F6956E #6EF695
tetradic
#956EF6 #F66E8B #CFF66E #6EF6D9
square
#956EF6 #F66E8B #CFF66E #6EF6D9
split-complementary
#956EF6 #F6D96E #8BF66E
monochromatic
#490EDC #6B34F2 #956EF6 #BFA8FA #E9E1FD

Accessibility & contrast

On white

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

On black

5.84
#956EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF6#FFFFFF#000000##000000
##956EF61.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#3485F3
Tritanopia (blue-blind)
#7C8BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ef6;
/* rgb */ color: rgb(149, 110, 246);
/* oklch */ color: oklch(64.2% 0.195 293.3);
Tailwind
colors: {
  custom: {
    50: '#b999fa',
    500: '#956ef6',
    950: '#000000',
  },
}
SCSS
$custom: #956ef6;
$custom-light: #b999fa;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef6",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 257.206,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64209,
    "c": 0.19527,
    "h": 293.3
  },
  "luminance": 0.24195
}

Semantic roles & 50–950 ramp

primary
#956EF6
secondary
#E8F3CD
accent
#E501A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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