#845EDD#845EDD

#845EDD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.186 H 293.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#845EDD
RGBrgb(132, 94, 221)
HSLhsl(258, 65%, 62%)
HSVhsv(258, 57%, 87%)
CMYKcmyk(40.3%, 57.5%, 0%, 13.3%)
CIE-LABlab(49.65, 43.92, -59.82)
CIE-LCHlch(49.65, 74.21, 306.29°)
OKLaboklab(58.45% 0.0745 -0.1702)
OKLCHoklch(58.45% 0.186 293.6)
XYZxyz(26.5661, 18.1307, 70.4925)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EDD #B7DD5E
analogous
#5E78DD #845EDD #C45EDD
triadic
#845EDD #DD845E #5EDD84
tetradic
#845EDD #DD5E78 #B7DD5E #5EDDC4
square
#845EDD #DD5E78 #B7DD5E #5EDDC4
split-complementary
#845EDD #DDC45E #78DD5E
monochromatic
#47229F #5E2CD2 #845EDD #AB91E8 #D1C3F2

Accessibility & contrast

On white

4.54
#845EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#845EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EDD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EDD#FFFFFF#000000##000000
##845EDD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F78E1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#6D7994
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845edd;
/* rgb */ color: rgb(132, 94, 221);
/* oklch */ color: oklch(58.4% 0.186 293.6);
Tailwind
colors: {
  custom: {
    50: '#ad8de8',
    500: '#845edd',
    950: '#000000',
  },
}
SCSS
$custom: #845edd;
$custom-light: #ad8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#845edd",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 257.953,
    "s": 65.128,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.18578,
    "h": 293.6
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#845EDD
secondary
#D5E3B4
accent
#CD1997
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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