#956EF8#956EF8

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

Color values

HEX#956EF8
RGBrgb(149, 110, 248)
HSLhsl(257, 91%, 70%)
HSVhsv(257, 56%, 97%)
CMYKcmyk(39.9%, 55.6%, 0%, 2.7%)
CIE-LABlab(56.40, 45.98, -64.00)
CIE-LCHlch(56.40, 78.80, 305.70°)
OKLaboklab(64.34% 0.0774 -0.182)
OKLCHoklch(64.34% 0.198 293)
XYZxyz(34.9091, 24.3178, 91.6433)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF8 #D1F86E
analogous
#6E8CF8 #956EF8 #DA6EF8
triadic
#956EF8 #F8956E #6EF895
tetradic
#956EF8 #F86E8C #D1F86E #6EF8DA
square
#956EF8 #F86E8C #D1F86E #6EF8DA
split-complementary
#956EF8 #F8DA6E #8CF86E
monochromatic
#470BE1 #6A34F5 #956EF8 #C0A8FB #EAE2FE

Accessibility & contrast

On white

3.58
#956EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#956EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF8#FFFFFF#000000##000000
##956EF81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2489FD
Deuteranopia (green-blind)
#3185F5
Tritanopia (blue-blind)
#7B8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ef8;
/* rgb */ color: rgb(149, 110, 248);
/* oklch */ color: oklch(64.3% 0.198 293.0);
Tailwind
colors: {
  custom: {
    50: '#b999fb',
    500: '#956ef8',
    950: '#000000',
  },
}
SCSS
$custom: #956ef8;
$custom-light: #b999fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef8",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 256.957,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.19774,
    "h": 293
  },
  "luminance": 0.24319
}

Semantic roles & 50–950 ramp

primary
#956EF8
secondary
#E9F4CE
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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