#956BFA#956BFA

#956BFA is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.0% C 0.204 H 293.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#956BFA
RGBrgb(149, 107, 250)
HSLhsl(258, 93%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(40.4%, 57.2%, 0%, 2%)
CIE-LABlab(55.89, 48.17, -65.93)
CIE-LCHlch(55.89, 81.65, 306.15°)
OKLaboklab(64% 0.0808 -0.1876)
OKLCHoklch(64% 0.204 293.3)
XYZxyz(34.9028, 23.8062, 93.1801)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BFA #D0FA6B
analogous
#6B89FA #956BFA #DC6BFA
triadic
#956BFA #FA956B #6BFA95
tetradic
#956BFA #FA6B89 #D0FA6B #6BFADC
square
#956BFA #FA6B89 #D0FA6B #6BFADC
split-complementary
#956BFA #FADC6B #89FA6B
monochromatic
#4808E3 #6B30F8 #956BFA #BFA6FC #EAE1FE

Accessibility & contrast

On white

3.64
#956BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#956BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BFA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BFA#FFFFFF#000000##000000
##956BFA1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#2683F7
Tritanopia (blue-blind)
#7A8AA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956bfa;
/* rgb */ color: rgb(149, 107, 250);
/* oklch */ color: oklch(64.0% 0.204 293.3);
Tailwind
colors: {
  custom: {
    50: '#ba97fd',
    500: '#956bfa',
    950: '#000000',
  },
}
SCSS
$custom: #956bfa;
$custom-light: #ba97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956bfa",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 257.622,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.64003,
    "c": 0.20431,
    "h": 293.3
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#956BFA
secondary
#E9F4CC
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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