#845CDD#845CDD

#845CDD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.189 H 294.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#845CDD
RGBrgb(132, 92, 221)
HSLhsl(259, 65%, 61%)
HSVhsv(259, 58%, 87%)
CMYKcmyk(40.3%, 58.4%, 0%, 13.3%)
CIE-LABlab(49.23, 45.04, -60.51)
CIE-LCHlch(49.23, 75.43, 306.66°)
OKLaboklab(58.13% 0.0768 -0.1722)
OKLCHoklch(58.13% 0.189 294)
XYZxyz(26.3905, 17.7796, 70.4340)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CDD #B5DD5C
analogous
#5C75DD #845CDD #C55CDD
triadic
#845CDD #DD845C #5CDD84
tetradic
#845CDD #DD5C75 #B5DD5C #5CDDC5
square
#845CDD #DD5C75 #B5DD5C #5CDDC5
split-complementary
#845CDD #DDC55C #75DD5C
monochromatic
#48219E #5F2BD0 #845CDD #AA8FE8 #D0C1F2

Accessibility & contrast

On white

4.61
#845CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#845CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CDD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CDD#FFFFFF#000000##FFFFFF
##845CDD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#6D7894
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845cdd;
/* rgb */ color: rgb(132, 92, 221);
/* oklch */ color: oklch(58.1% 0.189 294.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ce8',
    500: '#845cdd',
    950: '#000000',
  },
}
SCSS
$custom: #845cdd;
$custom-light: #ad8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#845cdd",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 258.605,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.18857,
    "h": 294
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#845CDD
secondary
#D4E3B2
accent
#CD1895
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CDD

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

Preview Lab → · Contrast checker → · Palette generator →

#845CDD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva