#956CFA#956CFA

#956CFA is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.2% C 0.203 H 293.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#956CFA
RGBrgb(149, 108, 250)
HSLhsl(257, 93%, 70%)
HSVhsv(257, 57%, 98%)
CMYKcmyk(40.4%, 56.8%, 0%, 2%)
CIE-LABlab(56.10, 47.62, -65.59)
CIE-LCHlch(56.10, 81.05, 305.98°)
OKLaboklab(64.16% 0.0797 -0.1866)
OKLCHoklch(64.16% 0.203 293.1)
XYZxyz(35.0077, 24.0159, 93.2150)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CFA #D1FA6C
analogous
#6C8AFA #956CFA #DC6CFA
triadic
#956CFA #FA956C #6CFA95
tetradic
#956CFA #FA6C8A #D1FA6C #6CFADC
square
#956CFA #FA6C8A #D1FA6C #6CFADC
split-complementary
#956CFA #FADC6C #8AFA6C
monochromatic
#4708E4 #6A31F8 #956CFA #C0A7FC #EAE1FE

Accessibility & contrast

On white

3.62
#956CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#956CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CFA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CFA#FFFFFF#000000##000000
##956CFA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1688FF
Deuteranopia (green-blind)
#2884F7
Tritanopia (blue-blind)
#7A8BA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956cfa;
/* rgb */ color: rgb(149, 108, 250);
/* oklch */ color: oklch(64.2% 0.203 293.1);
Tailwind
colors: {
  custom: {
    50: '#ba97fd',
    500: '#956cfa',
    950: '#000000',
  },
}
SCSS
$custom: #956cfa;
$custom-light: #ba97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956cfa",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 257.324,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.20295,
    "h": 293.1
  },
  "luminance": 0.24017
}

Semantic roles & 50–950 ramp

primary
#956CFA
secondary
#E9F5CD
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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