#956DF8#956DF8

#956DF8 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.199 H 293.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#956DF8
RGBrgb(149, 109, 248)
HSLhsl(257, 91%, 70%)
HSVhsv(257, 56%, 97%)
CMYKcmyk(39.9%, 56%, 0%, 2.7%)
CIE-LABlab(56.19, 46.54, -64.34)
CIE-LCHlch(56.19, 79.41, 305.88°)
OKLaboklab(64.18% 0.0786 -0.183)
OKLCHoklch(64.18% 0.199 293.2)
XYZxyz(34.8018, 24.1033, 91.6075)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF8 #D0F86D
analogous
#6D8BF8 #956DF8 #DA6DF8
triadic
#956DF8 #F8956D #6DF895
tetradic
#956DF8 #F86D8B #D0F86D #6DF8DA
square
#956DF8 #F86D8B #D0F86D #6DF8DA
split-complementary
#956DF8 #F8DA6D #8BF86D
monochromatic
#480BE0 #6B33F5 #956DF8 #BFA7FB #EAE2FE

Accessibility & contrast

On white

3.61
#956DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#956DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF8#FFFFFF#000000##000000
##956DF81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2088FD
Deuteranopia (green-blind)
#2F84F5
Tritanopia (blue-blind)
#7B8BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956df8;
/* rgb */ color: rgb(149, 109, 248);
/* oklch */ color: oklch(64.2% 0.199 293.2);
Tailwind
colors: {
  custom: {
    50: '#ba98fb',
    500: '#956df8',
    950: '#000000',
  },
}
SCSS
$custom: #956df8;
$custom-light: #ba98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956df8",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 257.266,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.64182,
    "c": 0.19912,
    "h": 293.2
  },
  "luminance": 0.24104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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