#845EEC#845EEC

#845EEC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.204 H 291.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#845EEC
RGBrgb(132, 94, 236)
HSLhsl(256, 79%, 65%)
HSVhsv(256, 60%, 93%)
CMYKcmyk(44.1%, 60.2%, 0%, 7.5%)
CIE-LABlab(50.65, 47.99, -66.68)
CIE-LCHlch(50.65, 82.15, 305.75°)
OKLaboklab(59.49% 0.074 -0.1904)
OKLCHoklch(59.49% 0.204 291.2)
XYZxyz(28.6545, 18.9661, 81.4917)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EEC #C6EC5E
analogous
#5E7FEC #845EEC #CB5EEC
triadic
#845EEC #EC845E #5EEC84
tetradic
#845EEC #EC5E7F #C6EC5E #5EECCB
square
#845EEC #EC5E7F #C6EC5E #5EECCB
split-complementary
#845EEC #ECCB5E #7FEC5E
monochromatic
#4216BA #5A27E6 #845EEC #AE95F2 #D8CBF9

Accessibility & contrast

On white

4.38
#845EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#845EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EEC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EEC#FFFFFF#000000##000000
##845EEC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#657E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845eec;
/* rgb */ color: rgb(132, 94, 236);
/* oklch */ color: oklch(59.5% 0.204 291.2);
Tailwind
colors: {
  custom: {
    50: '#af8df3',
    500: '#845eec',
    950: '#000000',
  },
}
SCSS
$custom: #845eec;
$custom-light: #af8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#845eec",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 256.056,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.20424,
    "h": 291.2
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#845EEC
secondary
#DEEBBB
accent
#DB0AA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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