#945CDD#945CDD

#945CDD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.190 H 300.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#945CDD
RGBrgb(148, 92, 221)
HSLhsl(266, 65%, 61%)
HSVhsv(266, 58%, 87%)
CMYKcmyk(33%, 58.4%, 0%, 13.3%)
CIE-LABlab(50.89, 48.64, -57.75)
CIE-LCHlch(50.89, 75.51, 310.11°)
OKLaboklab(59.73% 0.0975 -0.1636)
OKLCHoklch(59.73% 0.19 300.8)
XYZxyz(29.0879, 19.1705, 70.5604)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CDD #A5DD5C
analogous
#5C65DD #945CDD #D55CDD
triadic
#945CDD #DD945C #5CDD94
tetradic
#945CDD #DD5C65 #A5DD5C #5CDDD5
square
#945CDD #DD5C65 #A5DD5C #5CDDD5
split-complementary
#945CDD #DDD55C #65DD5C
monochromatic
#57219E #732BD0 #945CDD #B58FE8 #D6C1F2

Accessibility & contrast

On white

4.34
#945CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#945CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CDD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CDD#FFFFFF#000000##000000
##945CDD1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#857794
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945cdd;
/* rgb */ color: rgb(148, 92, 221);
/* oklch */ color: oklch(59.7% 0.190 300.8);
Tailwind
colors: {
  custom: {
    50: '#b88ce8',
    500: '#945cdd',
    950: '#000000',
  },
}
SCSS
$custom: #945cdd;
$custom-light: #b88ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#945cdd",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 266.047,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.19048,
    "h": 300.8
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #945CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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