#945DCC#945DCC

#945DCC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.169 H 304.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#945DCC
RGBrgb(148, 93, 204)
HSLhsl(270, 52%, 58%)
HSVhsv(270, 54%, 80%)
CMYKcmyk(27.5%, 54.4%, 0%, 20%)
CIE-LABlab(50.08, 43.96, -49.36)
CIE-LCHlch(50.08, 66.10, 311.69°)
OKLaboklab(58.81% 0.0959 -0.139)
OKLCHoklch(58.81% 0.169 304.6)
XYZxyz(27.0238, 18.4844, 59.2592)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DCC #95CC5D
analogous
#5D5DCC #945DCC #CC5DCC
triadic
#945DCC #CC945D #5DCC94
tetradic
#945DCC #CC5D5D #95CC5D #5DCCCC
square
#945DCC #CC5D5D #95CC5D #5DCCCC
split-complementary
#945DCC #CCCC5D #5DCC5D
monochromatic
#572A85 #7538B3 #945DCC #B38CDB #D1BAE9

Accessibility & contrast

On white

4.47
#945DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#945DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DCC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DCC#FFFFFF#000000##000000
##945DCC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#8A728C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945dcc;
/* rgb */ color: rgb(148, 93, 204);
/* oklch */ color: oklch(58.8% 0.169 304.6);
Tailwind
colors: {
  custom: {
    50: '#b68ddc',
    500: '#945dcc',
    950: '#000000',
  },
}
SCSS
$custom: #945dcc;
$custom-light: #b68ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#945dcc",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 269.73,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58811,
    "c": 0.16893,
    "h": 304.6
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #945DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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