#955CD4#955CD4

#955CD4 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.180 H 303.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#955CD4
RGBrgb(149, 92, 212)
HSLhsl(269, 58%, 60%)
HSVhsv(269, 57%, 83%)
CMYKcmyk(29.7%, 56.6%, 0%, 16.9%)
CIE-LABlab(50.45, 46.68, -53.33)
CIE-LCHlch(50.45, 70.88, 311.19°)
OKLaboklab(59.26% 0.0988 -0.1506)
OKLCHoklch(59.26% 0.18 303.2)
XYZxyz(28.1026, 18.7974, 64.4223)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CD4 #9BD45C
analogous
#5C5FD4 #955CD4 #D15CD4
triadic
#955CD4 #D4955C #5CD495
tetradic
#955CD4 #D45C5F #9BD45C #5CD4D1
square
#955CD4 #D45C5F #9BD45C #5CD4D1
split-complementary
#955CD4 #D4D15C #5FD45C
monochromatic
#582690 #7633C0 #955CD4 #B48CE1 #D4BDEE

Accessibility & contrast

On white

4.41
#955CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#955CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CD4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CD4#FFFFFF#000000##000000
##955CD41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#89748F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #955cd4;
/* rgb */ color: rgb(149, 92, 212);
/* oklch */ color: oklch(59.3% 0.180 303.2);
Tailwind
colors: {
  custom: {
    50: '#b88ce2',
    500: '#955cd4',
    950: '#000000',
  },
}
SCSS
$custom: #955cd4;
$custom-light: #b88ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#955cd4",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 268.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.18013,
    "h": 303.2
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#955CD4
secondary
#C7DDAF
accent
#E14698
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #955CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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