#945DDD#945DDD

#945DDD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.189 H 300.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#945DDD
RGBrgb(148, 93, 221)
HSLhsl(266, 65%, 62%)
HSVhsv(266, 58%, 87%)
CMYKcmyk(33%, 57.9%, 0%, 13.3%)
CIE-LABlab(51.09, 48.11, -57.43)
CIE-LCHlch(51.09, 74.92, 309.95°)
OKLaboklab(59.88% 0.0963 -0.1627)
OKLCHoklch(59.88% 0.189 300.6)
XYZxyz(29.1751, 19.3449, 70.5895)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DDD #A6DD5D
analogous
#5D66DD #945DDD #D45DDD
triadic
#945DDD #DD945D #5DDD94
tetradic
#945DDD #DD5D66 #A6DD5D #5DDDD4
square
#945DDD #DD5D66 #A6DD5D #5DDDD4
split-complementary
#945DDD #DDD45D #66DD5D
monochromatic
#57219E #732CD1 #945DDD #B590E8 #D7C2F2

Accessibility & contrast

On white

4.31
#945DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#945DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DDD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DDD#FFFFFF#000000##000000
##945DDD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#857794
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945ddd;
/* rgb */ color: rgb(148, 93, 221);
/* oklch */ color: oklch(59.9% 0.189 300.6);
Tailwind
colors: {
  custom: {
    50: '#b88de8',
    500: '#945ddd',
    950: '#000000',
  },
}
SCSS
$custom: #945ddd;
$custom-light: #b88de8;
$custom-dark: #000000;
JSON
{
  "hex": "#945ddd",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 265.781,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.18904,
    "h": 300.6
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#945DDD
secondary
#CEE3B3
accent
#CD187F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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