#956AF7#956AF7

#956AF7 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.6% C 0.202 H 293.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#956AF7
RGBrgb(149, 106, 247)
HSLhsl(258, 90%, 69%)
HSVhsv(258, 57%, 97%)
CMYKcmyk(39.7%, 57.1%, 0%, 3.1%)
CIE-LABlab(55.49, 47.92, -64.91)
CIE-LCHlch(55.49, 80.68, 306.44°)
OKLaboklab(63.65% 0.082 -0.1846)
OKLCHoklch(63.65% 0.202 293.9)
XYZxyz(34.3325, 23.4122, 90.6878)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AF7 #CCF76A
analogous
#6A86F7 #956AF7 #DC6AF7
triadic
#956AF7 #F7956A #6AF795
tetradic
#956AF7 #F76A86 #CCF76A #6AF7DC
square
#956AF7 #F76A86 #CCF76A #6AF7DC
split-complementary
#956AF7 #F7DC6A #86F76A
monochromatic
#4B0CDB #6C30F4 #956AF7 #BEA4FA #E8DEFD

Accessibility & contrast

On white

3.70
#956AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#956AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AF7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AF7#FFFFFF#000000##000000
##956AF71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1486FC
Deuteranopia (green-blind)
#2983F4
Tritanopia (blue-blind)
#7C88A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956af7;
/* rgb */ color: rgb(149, 106, 247);
/* oklch */ color: oklch(63.6% 0.202 293.9);
Tailwind
colors: {
  custom: {
    50: '#ba96fb',
    500: '#956af7',
    950: '#000000',
  },
}
SCSS
$custom: #956af7;
$custom-light: #ba96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956af7",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 258.298,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.20203,
    "h": 293.9
  },
  "luminance": 0.23413
}

Semantic roles & 50–950 ramp

primary
#956AF7
secondary
#E6F3CA
accent
#E600A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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