#956EF7#956EF7

#956EF7 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.197 H 293.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#956EF7
RGBrgb(149, 110, 247)
HSLhsl(257, 90%, 70%)
HSVhsv(257, 55%, 97%)
CMYKcmyk(39.7%, 55.5%, 0%, 3.1%)
CIE-LABlab(56.34, 45.72, -63.54)
CIE-LCHlch(56.34, 78.28, 305.74°)
OKLaboklab(64.27% 0.0774 -0.1806)
OKLCHoklch(64.27% 0.197 293.2)
XYZxyz(34.7544, 24.2559, 90.8284)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF7 #D0F76E
analogous
#6E8CF7 #956EF7 #D96EF7
triadic
#956EF7 #F7956E #6EF795
tetradic
#956EF7 #F76E8C #D0F76E #6EF7D9
square
#956EF7 #F76E8C #D0F76E #6EF7D9
split-complementary
#956EF7 #F7D96E #8CF76E
monochromatic
#480CDE #6B34F4 #956EF7 #BFA8FA #EAE2FD

Accessibility & contrast

On white

3.59
#956EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#956EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF7#FFFFFF#000000##000000
##956EF71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#3385F4
Tritanopia (blue-blind)
#7B8BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ef7;
/* rgb */ color: rgb(149, 110, 247);
/* oklch */ color: oklch(64.3% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#b999fb',
    500: '#956ef7',
    950: '#000000',
  },
}
SCSS
$custom: #956ef7;
$custom-light: #b999fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef7",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 257.08,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.19651,
    "h": 293.2
  },
  "luminance": 0.24257
}

Semantic roles & 50–950 ramp

primary
#956EF7
secondary
#E9F4CD
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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