#956BEB#956BEB

#956BEB is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.0% C 0.186 H 295.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#956BEB
RGBrgb(149, 107, 235)
HSLhsl(260, 76%, 67%)
HSVhsv(260, 54%, 92%)
CMYKcmyk(36.6%, 54.5%, 0%, 7.8%)
CIE-LABlab(54.97, 44.24, -59.06)
CIE-LCHlch(54.97, 73.80, 306.83°)
OKLaboklab(63.03% 0.0807 -0.1675)
OKLCHoklch(63.03% 0.186 295.7)
XYZxyz(32.6437, 22.9025, 81.2819)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BEB #C1EB6B
analogous
#6B81EB #956BEB #D56BEB
triadic
#956BEB #EB956B #6BEB95
tetradic
#956BEB #EB6B81 #C1EB6B #6BEBD5
square
#956BEB #EB6B81 #C1EB6B #6BEBD5
split-complementary
#956BEB #EBD56B #81EB6B
monochromatic
#511AC1 #6E35E4 #956BEB #BCA1F2 #E2D7FA

Accessibility & contrast

On white

3.76
#956BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#956BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BEB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BEB#FFFFFF#000000##000000
##956BEB1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#8085A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956beb;
/* rgb */ color: rgb(149, 107, 235);
/* oklch */ color: oklch(63.0% 0.186 295.7);
Tailwind
colors: {
  custom: {
    50: '#b996f2',
    500: '#956beb',
    950: '#000000',
  },
}
SCSS
$custom: #956beb;
$custom-light: #b996f2;
$custom-dark: #000000;
JSON
{
  "hex": "#956beb",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 259.688,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63029,
    "c": 0.18591,
    "h": 295.7
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#956BEB
secondary
#E0EDC5
accent
#D80D96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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