#845DE5#845DE5

#845DE5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.197 H 292.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845DE5
RGBrgb(132, 93, 229)
HSLhsl(257, 72%, 63%)
HSVhsv(257, 59%, 90%)
CMYKcmyk(42.4%, 59.4%, 0%, 10.2%)
CIE-LABlab(49.97, 46.64, -63.84)
CIE-LCHlch(49.97, 79.06, 306.15°)
OKLaboklab(58.84% 0.0754 -0.182)
OKLCHoklch(58.84% 0.197 292.5)
XYZxyz(27.5691, 18.3906, 76.2107)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DE5 #BEE55D
analogous
#5D7AE5 #845DE5 #C85DE5
triadic
#845DE5 #E5845D #5DE584
tetradic
#845DE5 #E55D7A #BEE55D #5DE5C8
square
#845DE5 #E55D7A #BEE55D #5DE5C8
split-complementary
#845DE5 #E5C85D #7AE55D
monochromatic
#451CAC #5C28DD #845DE5 #AC92ED #D4C6F6

Accessibility & contrast

On white

4.49
#845DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#845DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DE5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DE5#FFFFFF#000000##000000
##845DE51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0174E2
Tritanopia (blue-blind)
#697B98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845de5;
/* rgb */ color: rgb(132, 93, 229);
/* oklch */ color: oklch(58.8% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#ae8cee',
    500: '#845de5',
    950: '#000000',
  },
}
SCSS
$custom: #845de5;
$custom-light: #ae8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#845de5",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 257.206,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.19703,
    "h": 292.5
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

primary
#845DE5
secondary
#D9E7B7
accent
#D4119C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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