#845CEA#845CEA

#845CEA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.204 H 291.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#845CEA
RGBrgb(132, 92, 234)
HSLhsl(257, 77%, 64%)
HSVhsv(257, 61%, 92%)
CMYKcmyk(43.6%, 60.7%, 0%, 8.2%)
CIE-LABlab(50.10, 48.55, -66.44)
CIE-LCHlch(50.10, 82.29, 306.15°)
OKLaboklab(59.04% 0.0763 -0.1897)
OKLCHoklch(59.04% 0.204 291.9)
XYZxyz(28.1901, 18.4995, 79.9114)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CEA #C2EA5C
analogous
#5C7BEA #845CEA #CB5CEA
triadic
#845CEA #EA845C #5CEA84
tetradic
#845CEA #EA5C7B #C2EA5C #5CEACB
square
#845CEA #EA5C7B #C2EA5C #5CEACB
split-complementary
#845CEA #EACB5C #7BEA5C
monochromatic
#4317B4 #5B26E3 #845CEA #AD92F1 #D6C8F8

Accessibility & contrast

On white

4.47
#845CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#845CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CEA#FFFFFF#000000##000000
##845CEA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #845cea;
/* rgb */ color: rgb(132, 92, 234);
/* oklch */ color: oklch(59.0% 0.204 291.9);
Tailwind
colors: {
  custom: {
    50: '#ae8cf2',
    500: '#845cea',
    950: '#000000',
  },
}
SCSS
$custom: #845cea;
$custom-light: #ae8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#845cea",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 256.901,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.20444,
    "h": 291.9
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#845CEA
secondary
#DCEAB8
accent
#D90CA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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