#845DED#845DED

#845DED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.207 H 291.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#845DED
RGBrgb(132, 93, 237)
HSLhsl(256, 80%, 65%)
HSVhsv(256, 61%, 93%)
CMYKcmyk(44.3%, 60.8%, 0%, 7.1%)
CIE-LABlab(50.51, 48.81, -67.46)
CIE-LCHlch(50.51, 83.27, 305.89°)
OKLaboklab(59.41% 0.075 -0.1927)
OKLCHoklch(59.41% 0.207 291.3)
XYZxyz(28.7119, 18.8477, 82.2295)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DED #C6ED5D
analogous
#5D7EED #845DED #CC5DED
triadic
#845DED #ED845D #5DED84
tetradic
#845DED #ED5D7E #C6ED5D #5DEDCC
square
#845DED #ED5D7E #C6ED5D #5DEDCC
split-complementary
#845DED #EDCC5D #7EED5D
monochromatic
#4215BB #5A26E7 #845DED #AE94F3 #D8CBF9

Accessibility & contrast

On white

4.40
#845DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#845DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DED#FFFFFF#000000##000000
##845DED1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#657E9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845ded;
/* rgb */ color: rgb(132, 93, 237);
/* oklch */ color: oklch(59.4% 0.207 291.3);
Tailwind
colors: {
  custom: {
    50: '#af8df4',
    500: '#845ded',
    950: '#000000',
  },
}
SCSS
$custom: #845ded;
$custom-light: #af8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#845ded",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 256.25,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.20676,
    "h": 291.3
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#845DED
secondary
#DEECBA
accent
#DC09A3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DED

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

Preview Lab → · Contrast checker → · Palette generator →

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