#845EDA#845EDA

#845EDA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.182 H 294.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#845EDA
RGBrgb(132, 94, 218)
HSLhsl(258, 63%, 61%)
HSVhsv(258, 57%, 85%)
CMYKcmyk(39.4%, 56.9%, 0%, 14.5%)
CIE-LABlab(49.46, 43.11, -58.43)
CIE-LCHlch(49.46, 72.61, 306.42°)
OKLaboklab(58.24% 0.0745 -0.1661)
OKLCHoklch(58.24% 0.182 294.2)
XYZxyz(26.1700, 17.9723, 68.4063)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EDA #B4DA5E
analogous
#5E76DA #845EDA #C25EDA
triadic
#845EDA #DA845E #5EDA84
tetradic
#845EDA #DA5E76 #B4DA5E #5EDAC2
square
#845EDA #DA5E76 #B4DA5E #5EDAC2
split-complementary
#845EDA #DAC25E #76DA5E
monochromatic
#48239A #5F2FCC #845EDA #AA90E5 #D0C2F1

Accessibility & contrast

On white

4.57
#845EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#845EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EDA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EDA#FFFFFF#000000##000000
##845EDA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1877DE
Deuteranopia (green-blind)
#2874D7
Tritanopia (blue-blind)
#6E7993
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845eda;
/* rgb */ color: rgb(132, 94, 218);
/* oklch */ color: oklch(58.2% 0.182 294.2);
Tailwind
colors: {
  custom: {
    50: '#ad8de6',
    500: '#845eda',
    950: '#000000',
  },
}
SCSS
$custom: #845eda;
$custom-light: #ad8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#845eda",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 258.387,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.18205,
    "h": 294.2
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#845EDA
secondary
#D3E1B3
accent
#CA1B95
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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