#845CD2#845CD2

#845CD2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.175 H 296.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#845CD2
RGBrgb(132, 92, 210)
HSLhsl(260, 57%, 59%)
HSVhsv(260, 56%, 82%)
CMYKcmyk(37.1%, 56.2%, 0%, 17.6%)
CIE-LABlab(48.53, 42.11, -55.37)
CIE-LCHlch(48.53, 69.57, 307.25°)
OKLaboklab(57.39% 0.0769 -0.1571)
OKLCHoklch(57.39% 0.175 296.1)
XYZxyz(24.9727, 17.2125, 62.9669)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CD2 #AAD25C
analogous
#5C6FD2 #845CD2 #BF5CD2
triadic
#845CD2 #D2845C #5CD284
tetradic
#845CD2 #D25C6F #AAD25C #5CD2BF
square
#845CD2 #D25C6F #AAD25C #5CD2BF
split-complementary
#845CD2 #D2BF5C #6FD25C
monochromatic
#49278D #6234BD #845CD2 #A88CDF #CCBCEC

Accessibility & contrast

On white

4.73
#845CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#845CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845CD2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CD2#FFFFFF#000000##FFFFFF
##845CD21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2274D6
Deuteranopia (green-blind)
#3072CF
Tritanopia (blue-blind)
#71758E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #845cd2;
/* rgb */ color: rgb(132, 92, 210);
/* oklch */ color: oklch(57.4% 0.175 296.1);
Tailwind
colors: {
  custom: {
    50: '#ac8be0',
    500: '#845cd2',
    950: '#000000',
  },
}
SCSS
$custom: #845cd2;
$custom-light: #ac8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#845cd2",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 260.339,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.17493,
    "h": 296.1
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#845CD2
secondary
#CCDCAE
accent
#E048AC
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #845CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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