#845CE9#845CE9

#845CE9 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.203 H 292.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#845CE9
RGBrgb(132, 92, 233)
HSLhsl(257, 76%, 64%)
HSVhsv(257, 61%, 91%)
CMYKcmyk(43.3%, 60.5%, 0%, 8.6%)
CIE-LABlab(50.03, 48.27, -65.99)
CIE-LCHlch(50.03, 81.76, 306.19°)
OKLaboklab(58.97% 0.0763 -0.1883)
OKLCHoklch(58.97% 0.203 292.1)
XYZxyz(28.0468, 18.4422, 79.1569)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE9 #C1E95C
analogous
#5C7AE9 #845CE9 #CA5CE9
triadic
#845CE9 #E9845C #5CE984
tetradic
#845CE9 #E95C7A #C1E95C #5CE9CA
square
#845CE9 #E95C7A #C1E95C #5CE9CA
split-complementary
#845CE9 #E9CA5C #7AE95C
monochromatic
#4418B3 #5B26E2 #845CE9 #AD92F0 #D5C8F8

Accessibility & contrast

On white

4.48
#845CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#845CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE9#FFFFFF#000000##000000
##845CE91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#677C9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845ce9;
/* rgb */ color: rgb(132, 92, 233);
/* oklch */ color: oklch(59.0% 0.203 292.1);
Tailwind
colors: {
  custom: {
    50: '#ae8cf1',
    500: '#845ce9',
    950: '#000000',
  },
}
SCSS
$custom: #845ce9;
$custom-light: #ae8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce9",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 257.021,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.20323,
    "h": 292.1
  },
  "luminance": 0.18443
}

Semantic roles & 50–950 ramp

primary
#845CE9
secondary
#DBE9B8
accent
#D80D9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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