#956EFA#956EFA

#956EFA is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.5% C 0.200 H 292.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#956EFA
RGBrgb(149, 110, 250)
HSLhsl(257, 93%, 71%)
HSVhsv(257, 56%, 98%)
CMYKcmyk(40.4%, 56%, 0%, 2%)
CIE-LABlab(56.53, 46.51, -64.91)
CIE-LCHlch(56.53, 79.85, 305.63°)
OKLaboklab(64.47% 0.0774 -0.1846)
OKLCHoklch(64.47% 0.2 292.7)
XYZxyz(35.2210, 24.4426, 93.2861)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EFA #D3FA6E
analogous
#6E8DFA #956EFA #DB6EFA
triadic
#956EFA #FA956E #6EFA95
tetradic
#956EFA #FA6E8D #D3FA6E #6EFADB
square
#956EFA #FA6E8D #D3FA6E #6EFADB
split-complementary
#956EFA #FADB6E #8DFA6E
monochromatic
#4608E6 #6A33F8 #956EFA #C0A9FC #E9E1FE

Accessibility & contrast

On white

3.57
#956EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#956EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EFA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EFA#FFFFFF#000000##000000
##956EFA1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FF
Deuteranopia (green-blind)
#2D85F7
Tritanopia (blue-blind)
#7A8CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956efa;
/* rgb */ color: rgb(149, 110, 250);
/* oklch */ color: oklch(64.5% 0.200 292.7);
Tailwind
colors: {
  custom: {
    50: '#ba99fd',
    500: '#956efa',
    950: '#000000',
  },
}
SCSS
$custom: #956efa;
$custom-light: #ba99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956efa",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 256.714,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6447,
    "c": 0.20021,
    "h": 292.7
  },
  "luminance": 0.24444
}

Semantic roles & 50–950 ramp

primary
#956EFA
secondary
#EAF5CF
accent
#E600A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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