#956AF1#956AF1

#956AF1 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.195 H 294.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#956AF1
RGBrgb(149, 106, 241)
HSLhsl(259, 83%, 68%)
HSVhsv(259, 56%, 95%)
CMYKcmyk(38.2%, 56%, 0%, 5.5%)
CIE-LABlab(55.12, 46.35, -62.17)
CIE-LCHlch(55.12, 77.55, 306.71°)
OKLaboklab(63.26% 0.082 -0.1766)
OKLCHoklch(63.26% 0.195 294.9)
XYZxyz(33.4215, 23.0478, 85.8898)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AF1 #C6F16A
analogous
#6A82F1 #956AF1 #D86AF1
triadic
#956AF1 #F1956A #6AF195
tetradic
#956AF1 #F16A82 #C6F16A #6AF1D8
square
#956AF1 #F16A82 #C6F16A #6AF1D8
split-complementary
#956AF1 #F1D86A #82F16A
monochromatic
#4F13CD #6D32EC #956AF1 #BDA2F6 #E5DAFC

Accessibility & contrast

On white

3.74
#956AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#956AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AF1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AF1#FFFFFF#000000##000000
##956AF11.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F5
Deuteranopia (green-blind)
#3482EE
Tritanopia (blue-blind)
#7E87A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956af1;
/* rgb */ color: rgb(149, 106, 241);
/* oklch */ color: oklch(63.3% 0.195 294.9);
Tailwind
colors: {
  custom: {
    50: '#b996f6',
    500: '#956af1',
    950: '#000000',
  },
}
SCSS
$custom: #956af1;
$custom-light: #b996f6;
$custom-dark: #000000;
JSON
{
  "hex": "#956af1",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 259.111,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.19472,
    "h": 294.9
  },
  "luminance": 0.23049
}

Semantic roles & 50–950 ramp

primary
#956AF1
secondary
#E3F0C7
accent
#DF069A
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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