#845DE9#845DE9

#845DE9 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.202 H 291.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#845DE9
RGBrgb(132, 93, 233)
HSLhsl(257, 76%, 64%)
HSVhsv(257, 60%, 91%)
CMYKcmyk(43.3%, 60.1%, 0%, 8.6%)
CIE-LABlab(50.24, 47.72, -65.66)
CIE-LCHlch(50.24, 81.17, 306.01°)
OKLaboklab(59.12% 0.0753 -0.1874)
OKLCHoklch(59.12% 0.202 291.9)
XYZxyz(28.1340, 18.6165, 79.1860)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DE9 #C2E95D
analogous
#5D7CE9 #845DE9 #CA5DE9
triadic
#845DE9 #E9845D #5DE984
tetradic
#845DE9 #E95D7C #C2E95D #5DE9CA
square
#845DE9 #E95D7C #C2E95D #5DE9CA
split-complementary
#845DE9 #E9CA5D #7CE95D
monochromatic
#4318B3 #5B27E2 #845DE9 #AD93F0 #D6C9F8

Accessibility & contrast

On white

4.45
#845DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#845DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DE9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DE9#FFFFFF#000000##000000
##845DE91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#677D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845de9;
/* rgb */ color: rgb(132, 93, 233);
/* oklch */ color: oklch(59.1% 0.202 291.9);
Tailwind
colors: {
  custom: {
    50: '#ae8cf1',
    500: '#845de9',
    950: '#000000',
  },
}
SCSS
$custom: #845de9;
$custom-light: #ae8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#845de9",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 256.714,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.20192,
    "h": 291.9
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#845DE9
secondary
#DCE9B8
accent
#D80DA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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