#845CE8#845CE8

#845CE8 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.202 H 292.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845CE8
RGBrgb(132, 92, 232)
HSLhsl(257, 75%, 64%)
HSVhsv(257, 60%, 91%)
CMYKcmyk(43.1%, 60.3%, 0%, 9%)
CIE-LABlab(49.96, 48.00, -65.54)
CIE-LCHlch(49.96, 81.24, 306.22°)
OKLaboklab(58.9% 0.0764 -0.187)
OKLCHoklch(58.9% 0.202 292.2)
XYZxyz(27.9044, 18.3852, 78.4067)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE8 #C0E85C
analogous
#5C7AE8 #845CE8 #CA5CE8
triadic
#845CE8 #E8845C #5CE884
tetradic
#845CE8 #E85C7A #C0E85C #5CE8CA
square
#845CE8 #E85C7A #C0E85C #5CE8CA
split-complementary
#845CE8 #E8CA5C #7AE85C
monochromatic
#4419B1 #5C26E0 #845CE8 #AC92F0 #D5C7F7

Accessibility & contrast

On white

4.49
#845CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#845CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE8#FFFFFF#000000##000000
##845CE81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#687C99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845ce8;
/* rgb */ color: rgb(132, 92, 232);
/* oklch */ color: oklch(58.9% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#ae8cf0',
    500: '#845ce8',
    950: '#000000',
  },
}
SCSS
$custom: #845ce8;
$custom-light: #ae8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce8",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 257.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.20202,
    "h": 292.2
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#845CE8
secondary
#DBE9B7
accent
#D70E9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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