#845CDA#845CDA

#845CDA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.185 H 294.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#845CDA
RGBrgb(132, 92, 218)
HSLhsl(259, 63%, 61%)
HSVhsv(259, 58%, 85%)
CMYKcmyk(39.4%, 57.8%, 0%, 14.5%)
CIE-LABlab(49.03, 44.24, -59.12)
CIE-LCHlch(49.03, 73.84, 306.81°)
OKLaboklab(57.93% 0.0769 -0.1681)
OKLCHoklch(57.93% 0.185 294.6)
XYZxyz(25.9944, 17.6212, 68.3477)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CDA #B2DA5C
analogous
#5C73DA #845CDA #C35CDA
triadic
#845CDA #DA845C #5CDA84
tetradic
#845CDA #DA5C73 #B2DA5C #5CDAC3
square
#845CDA #DA5C73 #B2DA5C #5CDAC3
split-complementary
#845CDA #DAC35C #73DA5C
monochromatic
#482399 #602ECB #845CDA #AA8EE5 #CFC0F1

Accessibility & contrast

On white

4.64
#845CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#845CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CDA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CDA#FFFFFF#000000##FFFFFF
##845CDA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D76DE
Deuteranopia (green-blind)
#2372D7
Tritanopia (blue-blind)
#6E7792
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845cda;
/* rgb */ color: rgb(132, 92, 218);
/* oklch */ color: oklch(57.9% 0.185 294.6);
Tailwind
colors: {
  custom: {
    50: '#ad8ce6',
    500: '#845cda',
    950: '#000000',
  },
}
SCSS
$custom: #845cda;
$custom-light: #ad8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#845cda",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 259.048,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.18487,
    "h": 294.6
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#845CDA
secondary
#D2E1B1
accent
#CB1B93
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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