#945DCD#945DCD

#945DCD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.170 H 304.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#945DCD
RGBrgb(148, 93, 205)
HSLhsl(269, 53%, 58%)
HSVhsv(269, 55%, 80%)
CMYKcmyk(27.8%, 54.6%, 0%, 19.6%)
CIE-LABlab(50.14, 44.20, -49.84)
CIE-LCHlch(50.14, 66.62, 311.57°)
OKLaboklab(58.87% 0.096 -0.1404)
OKLCHoklch(58.87% 0.17 304.4)
XYZxyz(27.1441, 18.5325, 59.8929)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DCD #96CD5D
analogous
#5D5ECD #945DCD #CC5DCD
triadic
#945DCD #CD945D #5DCD94
tetradic
#945DCD #CD5D5E #96CD5D #5DCDCC
square
#945DCD #CD5D5E #96CD5D #5DCDCC
split-complementary
#945DCD #CDCC5D #5ECD5D
monochromatic
#572986 #7538B5 #945DCD #B38CDB #D2BBEA

Accessibility & contrast

On white

4.46
#945DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#945DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DCD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DCD#FFFFFF#000000##000000
##945DCD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#8A728C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945dcd;
/* rgb */ color: rgb(148, 93, 205);
/* oklch */ color: oklch(58.9% 0.170 304.4);
Tailwind
colors: {
  custom: {
    50: '#b68ddd',
    500: '#945dcd',
    950: '#000000',
  },
}
SCSS
$custom: #945dcd;
$custom-light: #b68ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#945dcd",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 269.464,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.17011,
    "h": 304.4
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#945DCD
secondary
#C3D9AD
accent
#DC4C95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945DCD

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

Preview Lab → · Contrast checker → · Palette generator →

#945DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva