#845EDE#845EDE

#845EDE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.187 H 293.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#845EDE
RGBrgb(132, 94, 222)
HSLhsl(258, 66%, 62%)
HSVhsv(258, 58%, 87%)
CMYKcmyk(40.5%, 57.7%, 0%, 12.9%)
CIE-LABlab(49.72, 44.19, -60.28)
CIE-LCHlch(49.72, 74.75, 306.24°)
OKLaboklab(58.51% 0.0745 -0.1716)
OKLCHoklch(58.51% 0.187 293.5)
XYZxyz(26.6997, 18.1842, 71.1962)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EDE #B8DE5E
analogous
#5E78DE #845EDE #C45EDE
triadic
#845EDE #DE845E #5EDE84
tetradic
#845EDE #DE5E78 #B8DE5E #5EDEC4
square
#845EDE #DE5E78 #B8DE5E #5EDEC4
split-complementary
#845EDE #DEC45E #78DE5E
monochromatic
#4721A1 #5D2BD3 #845EDE #AB91E8 #D2C4F3

Accessibility & contrast

On white

4.53
#845EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#845EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EDE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EDE#FFFFFF#000000##000000
##845EDE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E2
Deuteranopia (green-blind)
#2074DB
Tritanopia (blue-blind)
#6C7A95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845ede;
/* rgb */ color: rgb(132, 94, 222);
/* oklch */ color: oklch(58.5% 0.187 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad8de9',
    500: '#845ede',
    950: '#000000',
  },
}
SCSS
$custom: #845ede;
$custom-light: #ad8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#845ede",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 257.813,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.18703,
    "h": 293.5
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#845EDE
secondary
#D5E4B4
accent
#CE1898
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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