#956EF2#956EF2

#956EF2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.190 H 294.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#956EF2
RGBrgb(149, 110, 242)
HSLhsl(258, 84%, 69%)
HSVhsv(258, 55%, 95%)
CMYKcmyk(38.4%, 54.5%, 0%, 5.1%)
CIE-LABlab(56.04, 44.40, -61.25)
CIE-LCHlch(56.04, 75.65, 305.94°)
OKLaboklab(63.95% 0.0773 -0.1739)
OKLCHoklch(63.95% 0.19 294)
XYZxyz(33.9931, 23.9515, 86.8193)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EF2 #CBF26E
analogous
#6E89F2 #956EF2 #D76EF2
triadic
#956EF2 #F2956E #6EF295
tetradic
#956EF2 #F26E89 #CBF26E #6EF2D7
square
#956EF2 #F26E89 #CBF26E #6EF2D7
split-complementary
#956EF2 #F2D76E #89F26E
monochromatic
#4C13D3 #6C36ED #956EF2 #BEA6F7 #E7DEFC

Accessibility & contrast

On white

3.63
#956EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#956EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EF2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EF2#FFFFFF#000000##000000
##956EF21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#7D8AA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956ef2;
/* rgb */ color: rgb(149, 110, 242);
/* oklch */ color: oklch(64.0% 0.190 294.0);
Tailwind
colors: {
  custom: {
    50: '#b999f7',
    500: '#956ef2',
    950: '#000000',
  },
}
SCSS
$custom: #956ef2;
$custom-light: #b999f7;
$custom-dark: #000000;
JSON
{
  "hex": "#956ef2",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 257.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.19031,
    "h": 294
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#956EF2
secondary
#E6F1CB
accent
#E0069F
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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