#955CD8#955CD8

#955CD8 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.185 H 302.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#955CD8
RGBrgb(149, 92, 216)
HSLhsl(268, 61%, 60%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(31%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.69, 47.65, -55.23)
CIE-LCHlch(50.69, 72.94, 310.79°)
OKLaboklab(59.51% 0.0988 -0.1562)
OKLCHoklch(59.51% 0.185 302.3)
XYZxyz(28.6134, 19.0017, 67.1127)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CD8 #9FD85C
analogous
#5C61D8 #955CD8 #D35CD8
triadic
#955CD8 #D8955C #5CD895
tetradic
#955CD8 #D85C61 #9FD85C #5CD8D3
square
#955CD8 #D85C61 #9FD85C #5CD8D3
split-complementary
#955CD8 #D8D35C #61D85C
monochromatic
#582496 #7530C7 #955CD8 #B58DE4 #D5BFF0

Accessibility & contrast

On white

4.37
#955CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#955CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CD8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CD8#FFFFFF#000000##000000
##955CD81.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2478DC
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#887591
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #955cd8;
/* rgb */ color: rgb(149, 92, 216);
/* oklch */ color: oklch(59.5% 0.185 302.3);
Tailwind
colors: {
  custom: {
    50: '#b88ce5',
    500: '#955cd8',
    950: '#000000',
  },
}
SCSS
$custom: #955cd8;
$custom-light: #b88ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#955cd8",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 267.581,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.18482,
    "h": 302.3
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #955CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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