#945CDC#945CDC

#945CDC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.189 H 301.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#945CDC
RGBrgb(148, 92, 220)
HSLhsl(266, 65%, 61%)
HSVhsv(266, 58%, 86%)
CMYKcmyk(32.7%, 58.2%, 0%, 13.7%)
CIE-LABlab(50.82, 48.40, -57.29)
CIE-LCHlch(50.82, 74.99, 310.19°)
OKLaboklab(59.66% 0.0975 -0.1623)
OKLCHoklch(59.66% 0.189 301)
XYZxyz(28.9551, 19.1174, 69.8608)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CDC #A4DC5C
analogous
#5C64DC #945CDC #D45CDC
triadic
#945CDC #DC945C #5CDC94
tetradic
#945CDC #DC5C64 #A4DC5C #5CDCD4
square
#945CDC #DC5C64 #A4DC5C #5CDCD4
split-complementary
#945CDC #DCD45C #64DC5C
monochromatic
#57229C #732CCE #945CDC #B58EE7 #D6C1F2

Accessibility & contrast

On white

4.35
#945CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#945CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CDC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CDC#FFFFFF#000000##000000
##945CDC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#857693
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945cdc;
/* rgb */ color: rgb(148, 92, 220);
/* oklch */ color: oklch(59.7% 0.189 301.0);
Tailwind
colors: {
  custom: {
    50: '#b78ce7',
    500: '#945cdc',
    950: '#000000',
  },
}
SCSS
$custom: #945cdc;
$custom-light: #b78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#945cdc",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 266.25,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.18931,
    "h": 301
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#945CDC
secondary
#CDE2B2
accent
#CC197E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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