#945CD3#945CD3

#945CD3 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.179 H 303.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#945CD3
RGBrgb(148, 92, 211)
HSLhsl(268, 57%, 59%)
HSVhsv(268, 56%, 83%)
CMYKcmyk(29.9%, 56.4%, 0%, 17.3%)
CIE-LABlab(50.28, 46.19, -53.04)
CIE-LCHlch(50.28, 70.34, 311.05°)
OKLaboklab(59.09% 0.0975 -0.1498)
OKLCHoklch(59.09% 0.179 303)
XYZxyz(27.7951, 18.6534, 63.7515)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CD3 #9BD35C
analogous
#5C60D3 #945CD3 #CF5CD3
triadic
#945CD3 #D3945C #5CD394
tetradic
#945CD3 #D35C60 #9BD35C #5CD3CF
square
#945CD3 #D35C60 #9BD35C #5CD3CF
split-complementary
#945CD3 #D3CF5C #60D35C
monochromatic
#57268E #7533BE #945CD3 #B48CE0 #D3BCED

Accessibility & contrast

On white

4.44
#945CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#945CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CD3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CD3#FFFFFF#000000##000000
##945CD31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#88738F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945cd3;
/* rgb */ color: rgb(148, 92, 211);
/* oklch */ color: oklch(59.1% 0.179 303.0);
Tailwind
colors: {
  custom: {
    50: '#b78ce1',
    500: '#945cd3',
    950: '#000000',
  },
}
SCSS
$custom: #945cd3;
$custom-light: #b78ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#945cd3",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 268.235,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.17873,
    "h": 303
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#945CD3
secondary
#C7DDAE
accent
#E14798
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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