#955CD2#955CD2

#955CD2 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.178 H 303.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#955CD2
RGBrgb(149, 92, 210)
HSLhsl(269, 57%, 59%)
HSVhsv(269, 56%, 82%)
CMYKcmyk(29%, 56.2%, 0%, 17.6%)
CIE-LABlab(50.33, 46.20, -52.38)
CIE-LCHlch(50.33, 69.84, 311.41°)
OKLaboklab(59.13% 0.0987 -0.1478)
OKLCHoklch(59.13% 0.178 303.7)
XYZxyz(27.8518, 18.6971, 63.1019)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CD2 #99D25C
analogous
#5C5ED2 #955CD2 #D05CD2
triadic
#955CD2 #D2955C #5CD295
tetradic
#955CD2 #D25C5E #99D25C #5CD2D0
square
#955CD2 #D25C5E #99D25C #5CD2D0
split-complementary
#955CD2 #D2D05C #5ED25C
monochromatic
#58278D #7634BD #955CD2 #B48CDF #D3BCEC

Accessibility & contrast

On white

4.43
#955CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#955CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CD2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CD2#FFFFFF#000000##000000
##955CD21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#8A738E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #955cd2;
/* rgb */ color: rgb(149, 92, 210);
/* oklch */ color: oklch(59.1% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#b78ce0',
    500: '#955cd2',
    950: '#000000',
  },
}
SCSS
$custom: #955cd2;
$custom-light: #b78ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#955cd2",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 268.983,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.17778,
    "h": 303.7
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#955CD2
secondary
#C6DCAE
accent
#E04896
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #955CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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