#845CEE#845CEE

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

Color values

HEX#845CEE
RGBrgb(132, 92, 238)
HSLhsl(256, 81%, 65%)
HSVhsv(256, 61%, 93%)
CMYKcmyk(44.5%, 61.3%, 0%, 6.7%)
CIE-LABlab(50.37, 49.63, -68.24)
CIE-LCHlch(50.37, 84.38, 306.03°)
OKLaboklab(59.33% 0.076 -0.195)
OKLCHoklch(59.33% 0.209 291.3)
XYZxyz(28.7712, 18.7319, 82.9720)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CEE #C6EE5C
analogous
#5C7DEE #845CEE #CD5CEE
triadic
#845CEE #EE845C #5CEE84
tetradic
#845CEE #EE5C7D #C6EE5C #5CEECD
square
#845CEE #EE5C7D #C6EE5C #5CEECD
split-complementary
#845CEE #EECD5C #7DEE5C
monochromatic
#4214BC #5A25E8 #845CEE #AE93F4 #D8CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845CEE#FFFFFF#000000##000000
##845CEE1.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)
#007AF3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#647E9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845cee;
/* rgb */ color: rgb(132, 92, 238);
/* oklch */ color: oklch(59.3% 0.209 291.3);
Tailwind
colors: {
  custom: {
    50: '#af8cf4',
    500: '#845cee',
    950: '#000000',
  },
}
SCSS
$custom: #845cee;
$custom-light: #af8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#845cee",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 256.438,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.20927,
    "h": 291.3
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#845CEE
secondary
#DEECBA
accent
#DD08A3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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