#955CD7#955CD7

#955CD7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.184 H 302.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#955CD7
RGBrgb(149, 92, 215)
HSLhsl(268, 61%, 60%)
HSVhsv(268, 57%, 84%)
CMYKcmyk(30.7%, 57.2%, 0%, 15.7%)
CIE-LABlab(50.63, 47.41, -54.75)
CIE-LCHlch(50.63, 72.43, 310.89°)
OKLaboklab(59.45% 0.0988 -0.1548)
OKLCHoklch(59.45% 0.184 302.5)
XYZxyz(28.4845, 18.9501, 66.4339)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CD7 #9ED75C
analogous
#5C60D7 #955CD7 #D35CD7
triadic
#955CD7 #D7955C #5CD795
tetradic
#955CD7 #D75C60 #9ED75C #5CD7D3
square
#955CD7 #D75C60 #9ED75C #5CD7D3
split-complementary
#955CD7 #D7D35C #60D75C
monochromatic
#582494 #7530C5 #955CD7 #B58DE3 #D5BEEF

Accessibility & contrast

On white

4.38
#955CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#955CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CD7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CD7#FFFFFF#000000##000000
##955CD71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#887591
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #955cd7;
/* rgb */ color: rgb(149, 92, 215);
/* oklch */ color: oklch(59.4% 0.184 302.5);
Tailwind
colors: {
  custom: {
    50: '#b88ce4',
    500: '#955cd7',
    950: '#000000',
  },
}
SCSS
$custom: #955cd7;
$custom-light: #b88ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#955cd7",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 267.805,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.18364,
    "h": 302.5
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#955CD7
secondary
#C9DFB0
accent
#C81D79
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #955CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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