#956BFC#956BFC

#956BFC is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.1% C 0.207 H 293.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#956BFC
RGBrgb(149, 107, 252)
HSLhsl(257, 96%, 70%)
HSVhsv(257, 58%, 99%)
CMYKcmyk(40.9%, 57.5%, 0%, 1.2%)
CIE-LABlab(56.02, 48.69, -66.83)
CIE-LCHlch(56.02, 82.69, 306.08°)
OKLaboklab(64.14% 0.0808 -0.1903)
OKLCHoklch(64.14% 0.207 293)
XYZxyz(35.2181, 23.9323, 94.8404)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BFC #D2FC6B
analogous
#6B8AFC #956BFC #DD6BFC
triadic
#956BFC #FC956B #6BFC95
tetradic
#956BFC #FC6B8A #D2FC6B #6BFCDD
square
#956BFC #FC6B8A #D2FC6B #6BFCDD
split-complementary
#956BFC #FCDD6B #8AFC6B
monochromatic
#4705E8 #6A2FFB #956BFC #C0A7FD #EAE1FE

Accessibility & contrast

On white

3.63
#956BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#956BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BFC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BFC#FFFFFF#000000##000000
##956BFC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0488FF
Deuteranopia (green-blind)
#2184F9
Tritanopia (blue-blind)
#798BA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956bfc;
/* rgb */ color: rgb(149, 107, 252);
/* oklch */ color: oklch(64.1% 0.207 293.0);
Tailwind
colors: {
  custom: {
    50: '#ba97fe',
    500: '#956bfc',
    950: '#000000',
  },
}
SCSS
$custom: #956bfc;
$custom-light: #ba97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#956bfc",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 257.379,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64136,
    "c": 0.20674,
    "h": 293
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

primary
#956BFC
secondary
#EAF5CE
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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