#845EDC#845EDC

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

Color values

HEX#845EDC
RGBrgb(132, 94, 220)
HSLhsl(258, 64%, 62%)
HSVhsv(258, 57%, 86%)
CMYKcmyk(40%, 57.3%, 0%, 13.7%)
CIE-LABlab(49.59, 43.65, -59.36)
CIE-LCHlch(49.59, 73.68, 306.33°)
OKLaboklab(58.38% 0.0745 -0.1688)
OKLCHoklch(58.38% 0.185 293.8)
XYZxyz(26.4333, 18.0776, 69.7929)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EDC #B6DC5E
analogous
#5E77DC #845EDC #C35EDC
triadic
#845EDC #DC845E #5EDC84
tetradic
#845EDC #DC5E77 #B6DC5E #5EDCC3
square
#845EDC #DC5E77 #B6DC5E #5EDCC3
split-complementary
#845EDC #DCC35E #77DC5E
monochromatic
#47229D #5E2DD0 #845EDC #AA90E7 #D1C3F2

Accessibility & contrast

On white

4.55
#845EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#845EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EDC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EDC#FFFFFF#000000##000000
##845EDC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#6D7994
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845edc;
/* rgb */ color: rgb(132, 94, 220);
/* oklch */ color: oklch(58.4% 0.185 293.8);
Tailwind
colors: {
  custom: {
    50: '#ad8de8',
    500: '#845edc',
    950: '#000000',
  },
}
SCSS
$custom: #845edc;
$custom-light: #ad8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#845edc",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 258.095,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.18454,
    "h": 293.8
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#845EDC
secondary
#D4E2B3
accent
#CC1996
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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