#845CDB#845CDB

#845CDB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.186 H 294.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#845CDB
RGBrgb(132, 92, 219)
HSLhsl(259, 64%, 61%)
HSVhsv(259, 58%, 86%)
CMYKcmyk(39.7%, 58%, 0%, 14.1%)
CIE-LABlab(49.10, 44.50, -59.58)
CIE-LCHlch(49.10, 74.37, 306.76°)
OKLaboklab(58% 0.0768 -0.1695)
OKLCHoklch(58% 0.186 294.4)
XYZxyz(26.1257, 17.6737, 69.0390)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CDB #B3DB5C
analogous
#5C73DB #845CDB #C45CDB
triadic
#845CDB #DB845C #5CDB84
tetradic
#845CDB #DB5C73 #B3DB5C #5CDBC4
square
#845CDB #DB5C73 #B3DB5C #5CDBC4
split-complementary
#845CDB #DBC45C #73DB5C
monochromatic
#48229A #5F2DCD #845CDB #AA8EE6 #D0C0F1

Accessibility & contrast

On white

4.63
#845CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#845CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CDB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CDB#FFFFFF#000000##FFFFFF
##845CDB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0976DF
Deuteranopia (green-blind)
#2173D8
Tritanopia (blue-blind)
#6E7793
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845cdb;
/* rgb */ color: rgb(132, 92, 219);
/* oklch */ color: oklch(58.0% 0.186 294.4);
Tailwind
colors: {
  custom: {
    50: '#ad8ce7',
    500: '#845cdb',
    950: '#000000',
  },
}
SCSS
$custom: #845cdb;
$custom-light: #ad8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#845cdb",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 258.898,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57996,
    "c": 0.1861,
    "h": 294.4
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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