#845DCE#845DCE

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

Color values

HEX#845DCE
RGBrgb(132, 93, 206)
HSLhsl(261, 54%, 59%)
HSVhsv(261, 55%, 81%)
CMYKcmyk(35.9%, 54.9%, 0%, 19.2%)
CIE-LABlab(48.50, 40.49, -53.13)
CIE-LCHlch(48.50, 66.80, 307.31°)
OKLaboklab(57.29% 0.0756 -0.1505)
OKLCHoklch(57.29% 0.168 296.6)
XYZxyz(24.5678, 17.1901, 60.4042)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DCE #A7CE5D
analogous
#5D6ECE #845DCE #BC5DCE
triadic
#845DCE #CE845D #5DCE84
tetradic
#845DCE #CE5D6E #A7CE5D #5DCEBC
square
#845DCE #CE5D6E #A7CE5D #5DCEBC
split-complementary
#845DCE #CEBC5D #6ECE5D
monochromatic
#4A2988 #6337B7 #845DCE #A88CDC #CBBBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845DCE#FFFFFF#000000##FFFFFF
##845DCE1.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)
#2B74D2
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#73748D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #845dce;
/* rgb */ color: rgb(132, 93, 206);
/* oklch */ color: oklch(57.3% 0.168 296.6);
Tailwind
colors: {
  custom: {
    50: '#ac8cde',
    500: '#845dce',
    950: '#000000',
  },
}
SCSS
$custom: #845dce;
$custom-light: #ac8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#845dce",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 260.708,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57294,
    "c": 0.16844,
    "h": 296.6
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#845DCE
secondary
#CADAAD
accent
#DD4BAB
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #845DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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