#845CDC#845CDC

#845CDC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.187 H 294.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#845CDC
RGBrgb(132, 92, 220)
HSLhsl(259, 65%, 61%)
HSVhsv(259, 58%, 86%)
CMYKcmyk(40%, 58.2%, 0%, 13.7%)
CIE-LABlab(49.16, 44.77, -60.05)
CIE-LCHlch(49.16, 74.90, 306.71°)
OKLaboklab(58.06% 0.0768 -0.1709)
OKLCHoklch(58.06% 0.187 294.2)
XYZxyz(26.2577, 17.7265, 69.7344)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CDC #B4DC5C
analogous
#5C74DC #845CDC #C45CDC
triadic
#845CDC #DC845C #5CDC84
tetradic
#845CDC #DC5C74 #B4DC5C #5CDCC4
square
#845CDC #DC5C74 #B4DC5C #5CDCC4
split-complementary
#845CDC #DCC45C #74DC5C
monochromatic
#48229C #5F2CCE #845CDC #AA8EE7 #D0C1F2

Accessibility & contrast

On white

4.62
#845CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#845CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CDC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CDC#FFFFFF#000000##FFFFFF
##845CDC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0476E0
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#6D7893
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845cdc;
/* rgb */ color: rgb(132, 92, 220);
/* oklch */ color: oklch(58.1% 0.187 294.2);
Tailwind
colors: {
  custom: {
    50: '#ad8ce8',
    500: '#845cdc',
    950: '#000000',
  },
}
SCSS
$custom: #845cdc;
$custom-light: #ad8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#845cdc",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 258.75,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.18735,
    "h": 294.2
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#845CDC
secondary
#D3E2B2
accent
#CC1994
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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