#845CDE#845CDE

#845CDE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.190 H 293.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#845CDE
RGBrgb(132, 92, 222)
HSLhsl(258, 66%, 62%)
HSVhsv(258, 59%, 87%)
CMYKcmyk(40.5%, 58.6%, 0%, 12.9%)
CIE-LABlab(49.29, 45.31, -60.97)
CIE-LCHlch(49.29, 75.96, 306.62°)
OKLaboklab(58.2% 0.0768 -0.1736)
OKLCHoklch(58.2% 0.19 293.9)
XYZxyz(26.5242, 17.8331, 71.1377)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CDE #B6DE5C
analogous
#5C75DE #845CDE #C55CDE
triadic
#845CDE #DE845C #5CDE84
tetradic
#845CDE #DE5C75 #B6DE5C #5CDEC5
square
#845CDE #DE5C75 #B6DE5C #5CDEC5
split-complementary
#845CDE #DEC55C #75DE5C
monochromatic
#47209F #5E2BD2 #845CDE #AA8FE8 #D1C2F3

Accessibility & contrast

On white

4.60
#845CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#845CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845CDE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CDE#FFFFFF#000000##FFFFFF
##845CDE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#1A73DB
Tritanopia (blue-blind)
#6C7894
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845cde;
/* rgb */ color: rgb(132, 92, 222);
/* oklch */ color: oklch(58.2% 0.190 293.9);
Tailwind
colors: {
  custom: {
    50: '#ad8ce9',
    500: '#845cde',
    950: '#000000',
  },
}
SCSS
$custom: #845cde;
$custom-light: #ad8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#845cde",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 258.462,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.1898,
    "h": 293.9
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#845CDE
secondary
#D4E3B3
accent
#CE1796
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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