#945DD5#945DD5

#945DD5 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.180 H 302.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#945DD5
RGBrgb(148, 93, 213)
HSLhsl(268, 59%, 60%)
HSVhsv(268, 56%, 84%)
CMYKcmyk(30.5%, 56.3%, 0%, 16.5%)
CIE-LABlab(50.60, 46.14, -53.66)
CIE-LCHlch(50.60, 70.77, 310.69°)
OKLaboklab(59.37% 0.0963 -0.1516)
OKLCHoklch(59.37% 0.18 302.4)
XYZxyz(28.1346, 18.9287, 65.1093)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DD5 #9ED55D
analogous
#5D62D5 #945DD5 #D05DD5
triadic
#945DD5 #D5945D #5DD594
tetradic
#945DD5 #D55D62 #9ED55D #5DD5D0
square
#945DD5 #D55D62 #9ED55D #5DD5D0
split-complementary
#945DD5 #D5D05D #62D55D
monochromatic
#572692 #7432C2 #945DD5 #B48EE2 #D4BEEE

Accessibility & contrast

On white

4.39
#945DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#945DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DD5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DD5#FFFFFF#000000##000000
##945DD51.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#887590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #945dd5;
/* rgb */ color: rgb(148, 93, 213);
/* oklch */ color: oklch(59.4% 0.180 302.4);
Tailwind
colors: {
  custom: {
    50: '#b78de2',
    500: '#945dd5',
    950: '#000000',
  },
}
SCSS
$custom: #945dd5;
$custom-light: #b78de2;
$custom-dark: #000000;
JSON
{
  "hex": "#945dd5",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 267.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.1796,
    "h": 302.4
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #945DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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