#845DEB#845DEB

#845DEB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.204 H 291.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#845DEB
RGBrgb(132, 93, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 60%, 92%)
CMYKcmyk(43.8%, 60.4%, 0%, 7.8%)
CIE-LABlab(50.37, 48.27, -66.56)
CIE-LCHlch(50.37, 82.22, 305.95°)
OKLaboklab(59.27% 0.0752 -0.19)
OKLCHoklch(59.27% 0.204 291.6)
XYZxyz(28.4213, 18.7315, 80.6992)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DEB #C4EB5D
analogous
#5D7DEB #845DEB #CB5DEB
triadic
#845DEB #EB845D #5DEB84
tetradic
#845DEB #EB5D7D #C4EB5D #5DEBCB
square
#845DEB #EB5D7D #C4EB5D #5DEBCB
split-complementary
#845DEB #EBCB5D #7DEB5D
monochromatic
#4317B7 #5B27E4 #845DEB #AD93F2 #D7CAF8

Accessibility & contrast

On white

4.42
#845DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#845DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DEB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DEB#FFFFFF#000000##000000
##845DEB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#667D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845deb;
/* rgb */ color: rgb(132, 93, 235);
/* oklch */ color: oklch(59.3% 0.204 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae8cf2',
    500: '#845deb',
    950: '#000000',
  },
}
SCSS
$custom: #845deb;
$custom-light: #ae8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#845deb",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 256.479,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.20434,
    "h": 291.6
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#845DEB
secondary
#DDEBB9
accent
#DA0BA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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