#955BD9#955BD9

#955BD9 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.187 H 302.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#955BD9
RGBrgb(149, 91, 217)
HSLhsl(268, 62%, 60%)
HSVhsv(268, 58%, 85%)
CMYKcmyk(31.3%, 58.1%, 0%, 14.9%)
CIE-LABlab(50.55, 48.43, -56.02)
CIE-LCHlch(50.55, 74.05, 310.84°)
OKLaboklab(59.43% 0.1 -0.1585)
OKLCHoklch(59.43% 0.187 302.3)
XYZxyz(28.6570, 18.8814, 67.7669)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955BD9 #9FD95B
analogous
#5B60D9 #955BD9 #D45BD9
triadic
#955BD9 #D9955B #5BD995
tetradic
#955BD9 #D95B60 #9FD95B #5BD9D4
square
#955BD9 #D95B60 #9FD95B #5BD9D4
split-complementary
#955BD9 #D9D45B #60D95B
monochromatic
#582397 #752EC8 #955BD9 #B58DE5 #D5BEF0

Accessibility & contrast

On white

4.40
#955BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#955BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955BD9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955BD9#FFFFFF#000000##000000
##955BD91.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#887491
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #955bd9;
/* rgb */ color: rgb(149, 91, 217);
/* oklch */ color: oklch(59.4% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#b88ce5',
    500: '#955bd9',
    950: '#000000',
  },
}
SCSS
$custom: #955bd9;
$custom-light: #b88ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#955bd9",
  "rgb": {
    "r": 149,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 267.619,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.18744,
    "h": 302.3
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#955BD9
secondary
#CAE0B0
accent
#CA1B7A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #955BD9

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

Preview Lab → · Contrast checker → · Palette generator →

#955BD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva