#845CDF#845CDF

#845CDF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.191 H 293.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#845CDF
RGBrgb(132, 92, 223)
HSLhsl(258, 67%, 62%)
HSVhsv(258, 59%, 87%)
CMYKcmyk(40.8%, 58.7%, 0%, 12.5%)
CIE-LABlab(49.36, 45.57, -61.43)
CIE-LCHlch(49.36, 76.49, 306.57°)
OKLaboklab(58.27% 0.0768 -0.1749)
OKLCHoklch(58.27% 0.191 293.7)
XYZxyz(26.6586, 17.8869, 71.8457)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CDF #B7DF5C
analogous
#5C76DF #845CDF #C65CDF
triadic
#845CDF #DF845C #5CDF84
tetradic
#845CDF #DF5C76 #B7DF5C #5CDFC6
square
#845CDF #DF5C76 #B7DF5C #5CDFC6
split-complementary
#845CDF #DFC65C #76DF5C
monochromatic
#4720A1 #5E2AD4 #845CDF #AB8FE9 #D1C2F3

Accessibility & contrast

On white

4.59
#845CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#845CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CDF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CDF#FFFFFF#000000##FFFFFF
##845CDF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#6C7995
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845cdf;
/* rgb */ color: rgb(132, 92, 223);
/* oklch */ color: oklch(58.3% 0.191 293.7);
Tailwind
colors: {
  custom: {
    50: '#ad8cea',
    500: '#845cdf',
    950: '#000000',
  },
}
SCSS
$custom: #845cdf;
$custom-light: #ad8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#845cdf",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 258.321,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.19104,
    "h": 293.7
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#845CDF
secondary
#D5E4B3
accent
#CF1697
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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