#956BF4#956BF4

#956BF4 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.6% C 0.197 H 294.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#956BF4
RGBrgb(149, 107, 244)
HSLhsl(258, 86%, 69%)
HSVhsv(258, 56%, 96%)
CMYKcmyk(38.9%, 56.1%, 0%, 4.3%)
CIE-LABlab(55.52, 46.59, -63.20)
CIE-LCHlch(55.52, 78.52, 306.39°)
OKLaboklab(63.61% 0.0809 -0.1796)
OKLCHoklch(63.61% 0.197 294.2)
XYZxyz(33.9769, 23.4358, 88.3038)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BF4 #CAF46B
analogous
#6B86F4 #956BF4 #DA6BF4
triadic
#956BF4 #F4956B #6BF495
tetradic
#956BF4 #F46B86 #CAF46B #6BF4DA
square
#956BF4 #F46B86 #CAF46B #6BF4DA
split-complementary
#956BF4 #F4DA6B #86F46B
monochromatic
#4C10D5 #6C32F0 #956BF4 #BEA4F8 #E7DDFC

Accessibility & contrast

On white

3.69
#956BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#956BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BF4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BF4#FFFFFF#000000##000000
##956BF41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F9
Deuteranopia (green-blind)
#3183F1
Tritanopia (blue-blind)
#7D88A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956bf4;
/* rgb */ color: rgb(149, 107, 244);
/* oklch */ color: oklch(63.6% 0.197 294.2);
Tailwind
colors: {
  custom: {
    50: '#b997f8',
    500: '#956bf4',
    950: '#000000',
  },
}
SCSS
$custom: #956bf4;
$custom-light: #b997f8;
$custom-dark: #000000;
JSON
{
  "hex": "#956bf4",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 258.394,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63607,
    "c": 0.19699,
    "h": 294.2
  },
  "luminance": 0.23437
}

Semantic roles & 50–950 ramp

primary
#956BF4
secondary
#E5F2C9
accent
#E3039E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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