#945CD5#945CD5

#945CD5 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.181 H 302.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#945CD5
RGBrgb(148, 92, 213)
HSLhsl(268, 59%, 60%)
HSVhsv(268, 57%, 84%)
CMYKcmyk(30.5%, 56.8%, 0%, 16.5%)
CIE-LABlab(50.40, 46.68, -53.99)
CIE-LCHlch(50.40, 71.37, 310.85°)
OKLaboklab(59.22% 0.0975 -0.1526)
OKLCHoklch(59.22% 0.181 302.6)
XYZxyz(28.0474, 18.7543, 65.0802)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CD5 #9DD55C
analogous
#5C60D5 #945CD5 #D15CD5
triadic
#945CD5 #D5945C #5CD594
tetradic
#945CD5 #D55C60 #9DD55C #5CD5D1
square
#945CD5 #D55C60 #9DD55C #5CD5D1
split-complementary
#945CD5 #D5D15C #60D55C
monochromatic
#572591 #7532C2 #945CD5 #B48DE2 #D4BDEE

Accessibility & contrast

On white

4.42
#945CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#945CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CD5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CD5#FFFFFF#000000##000000
##945CD51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#887490
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945cd5;
/* rgb */ color: rgb(148, 92, 213);
/* oklch */ color: oklch(59.2% 0.181 302.6);
Tailwind
colors: {
  custom: {
    50: '#b78ce2',
    500: '#945cd5',
    950: '#000000',
  },
}
SCSS
$custom: #945cd5;
$custom-light: #b78ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#945cd5",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 267.769,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.18109,
    "h": 302.6
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#945CD5
secondary
#C8DEAF
accent
#E2469A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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