#956FDB#956FDB

#956FDB is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.7% C 0.160 H 297.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#956FDB
RGBrgb(149, 111, 219)
HSLhsl(261, 60%, 65%)
HSVhsv(261, 49%, 86%)
CMYKcmyk(32%, 49.3%, 0%, 14.1%)
CIE-LABlab(54.94, 37.88, -50.13)
CIE-LCHlch(54.94, 62.84, 307.08°)
OKLaboklab(62.71% 0.0747 -0.1413)
OKLCHoklch(62.71% 0.16 297.9)
XYZxyz(30.8619, 22.8726, 69.7930)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FDB #B5DB6F
analogous
#6F7FDB #956FDB #CB6FDB
triadic
#956FDB #DB956F #6FDB95
tetradic
#956FDB #DB6F7F #B5DB6F #6FDBCB
square
#956FDB #DB6F7F #B5DB6F #6FDBCB
split-complementary
#956FDB #DBCB6F #7FDB6F
monochromatic
#552AA6 #713ECF #956FDB #B9A0E7 #DDD1F3

Accessibility & contrast

On white

3.77
#956FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#956FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FDB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FDB#FFFFFF#000000##000000
##956FDB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#5382D8
Tritanopia (blue-blind)
#86849B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956fdb;
/* rgb */ color: rgb(149, 111, 219);
/* oklch */ color: oklch(62.7% 0.160 297.9);
Tailwind
colors: {
  custom: {
    50: '#b799e7',
    500: '#956fdb',
    950: '#000000',
  },
}
SCSS
$custom: #956fdb;
$custom-light: #b799e7;
$custom-dark: #000000;
JSON
{
  "hex": "#956fdb",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 261.111,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62711,
    "c": 0.15983,
    "h": 297.9
  },
  "luminance": 0.22873
}

Semantic roles & 50–950 ramp

primary
#956FDB
secondary
#D8E5C0
accent
#C81E8C
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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