#956BF7#956BF7

#956BF7 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 63.8% C 0.201 H 293.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#956BF7
RGBrgb(149, 107, 247)
HSLhsl(258, 90%, 69%)
HSVhsv(258, 57%, 97%)
CMYKcmyk(39.7%, 56.7%, 0%, 3.1%)
CIE-LABlab(55.70, 47.38, -64.57)
CIE-LCHlch(55.70, 80.08, 306.27°)
OKLaboklab(63.8% 0.0809 -0.1836)
OKLCHoklch(63.8% 0.201 293.8)
XYZxyz(34.4362, 23.6195, 90.7223)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BF7 #CDF76B
analogous
#6B87F7 #956BF7 #DB6BF7
triadic
#956BF7 #F7956B #6BF795
tetradic
#956BF7 #F76B87 #CDF76B #6BF7DB
square
#956BF7 #F76B87 #CDF76B #6BF7DB
split-complementary
#956BF7 #F7DB6B #87F76B
monochromatic
#4A0CDC #6B31F4 #956BF7 #BFA5FA #E8DFFD

Accessibility & contrast

On white

3.67
#956BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#956BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BF7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BF7#FFFFFF#000000##000000
##956BF71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1987FC
Deuteranopia (green-blind)
#2C83F4
Tritanopia (blue-blind)
#7B89A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956bf7;
/* rgb */ color: rgb(149, 107, 247);
/* oklch */ color: oklch(63.8% 0.201 293.8);
Tailwind
colors: {
  custom: {
    50: '#ba97fb',
    500: '#956bf7',
    950: '#000000',
  },
}
SCSS
$custom: #956bf7;
$custom-light: #ba97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956bf7",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 258,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.20066,
    "h": 293.8
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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