#956BF8#956BF8

#956BF8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.9% C 0.202 H 293.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#956BF8
RGBrgb(149, 107, 248)
HSLhsl(258, 91%, 70%)
HSVhsv(258, 57%, 97%)
CMYKcmyk(39.9%, 56.9%, 0%, 2.7%)
CIE-LABlab(55.77, 47.64, -65.02)
CIE-LCHlch(55.77, 80.61, 306.23°)
OKLaboklab(63.87% 0.0809 -0.185)
OKLCHoklch(63.87% 0.202 293.6)
XYZxyz(34.5909, 23.6814, 91.5372)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BF8 #CEF86B
analogous
#6B88F8 #956BF8 #DB6BF8
triadic
#956BF8 #F8956B #6BF895
tetradic
#956BF8 #F86B88 #CEF86B #6BF8DB
square
#956BF8 #F86B88 #CEF86B #6BF8DB
split-complementary
#956BF8 #F8DB6B #88F86B
monochromatic
#4A0BDE #6B31F5 #956BF8 #BFA5FB #E9E0FE

Accessibility & contrast

On white

3.66
#956BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#956BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BF8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BF8#FFFFFF#000000##000000
##956BF81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1687FD
Deuteranopia (green-blind)
#2A83F5
Tritanopia (blue-blind)
#7B89A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956bf8;
/* rgb */ color: rgb(149, 107, 248);
/* oklch */ color: oklch(63.9% 0.202 293.6);
Tailwind
colors: {
  custom: {
    50: '#ba97fb',
    500: '#956bf8',
    950: '#000000',
  },
}
SCSS
$custom: #956bf8;
$custom-light: #ba97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956bf8",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 257.872,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6387,
    "c": 0.20187,
    "h": 293.6
  },
  "luminance": 0.23682
}

Semantic roles & 50–950 ramp

primary
#956BF8
secondary
#E8F4CB
accent
#E600A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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