#845CED#845CED

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

Color values

HEX#845CED
RGBrgb(132, 92, 237)
HSLhsl(257, 80%, 65%)
HSVhsv(257, 61%, 93%)
CMYKcmyk(44.3%, 61.2%, 0%, 7.1%)
CIE-LABlab(50.30, 49.36, -67.80)
CIE-LCHlch(50.30, 83.86, 306.06°)
OKLaboklab(59.26% 0.0761 -0.1936)
OKLCHoklch(59.26% 0.208 291.5)
XYZxyz(28.6247, 18.6733, 82.2005)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CED #C5ED5C
analogous
#5C7DED #845CED #CD5CED
triadic
#845CED #ED845C #5CED84
tetradic
#845CED #ED5C7D #C5ED5C #5CEDCD
square
#845CED #ED5C7D #C5ED5C #5CEDCD
split-complementary
#845CED #EDCD5C #7DED5C
monochromatic
#4215BA #5A25E7 #845CED #AE93F3 #D7CAF9

Accessibility & contrast

On white

4.44
#845CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#845CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CED
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CED#FFFFFF#000000##000000
##845CED1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#657D9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845ced;
/* rgb */ color: rgb(132, 92, 237);
/* oklch */ color: oklch(59.3% 0.208 291.5);
Tailwind
colors: {
  custom: {
    50: '#af8cf4',
    500: '#845ced',
    950: '#000000',
  },
}
SCSS
$custom: #845ced;
$custom-light: #af8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#845ced",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 256.552,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.20807,
    "h": 291.5
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#845CED
secondary
#DEEBB9
accent
#DC09A2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CED

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

Preview Lab → · Contrast checker → · Palette generator →

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