#945DCA#945DCA

#945DCA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.167 H 305.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#945DCA
RGBrgb(148, 93, 202)
HSLhsl(270, 51%, 58%)
HSVhsv(270, 54%, 79%)
CMYKcmyk(26.7%, 54%, 0%, 20.8%)
CIE-LABlab(49.96, 43.48, -48.40)
CIE-LCHlch(49.96, 65.06, 311.94°)
OKLaboklab(58.69% 0.0959 -0.1362)
OKLCHoklch(58.69% 0.167 305.1)
XYZxyz(26.7855, 18.3890, 58.0040)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DCA #93CA5D
analogous
#5D5DCA #945DCA #CA5DCA
triadic
#945DCA #CA945D #5DCA94
tetradic
#945DCA #CA5D5D #93CA5D #5DCACA
square
#945DCA #CA5D5D #93CA5D #5DCACA
split-complementary
#945DCA #CACA5D #5DCA5D
monochromatic
#572B82 #753AB0 #945DCA #B28BD9 #D1B9E8

Accessibility & contrast

On white

4.49
#945DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#945DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DCA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DCA#FFFFFF#000000##000000
##945DCA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#8B718B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945dca;
/* rgb */ color: rgb(148, 93, 202);
/* oklch */ color: oklch(58.7% 0.167 305.1);
Tailwind
colors: {
  custom: {
    50: '#b68ddb',
    500: '#945dca',
    950: '#000000',
  },
}
SCSS
$custom: #945dca;
$custom-light: #b68ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#945dca",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 270.275,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.16655,
    "h": 305.1
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#945DCA
secondary
#C1D7AC
accent
#DA4E93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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