#845CE7#845CE7

#845CE7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.201 H 292.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#845CE7
RGBrgb(132, 92, 231)
HSLhsl(257, 74%, 63%)
HSVhsv(257, 60%, 91%)
CMYKcmyk(42.9%, 60.2%, 0%, 9.4%)
CIE-LABlab(49.89, 47.73, -65.09)
CIE-LCHlch(49.89, 80.71, 306.25°)
OKLaboklab(58.83% 0.0764 -0.1857)
OKLCHoklch(58.83% 0.201 292.4)
XYZxyz(27.7627, 18.3285, 77.6608)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE7 #BFE75C
analogous
#5C79E7 #845CE7 #C95CE7
triadic
#845CE7 #E7845C #5CE784
tetradic
#845CE7 #E75C79 #BFE75C #5CE7C9
square
#845CE7 #E75C79 #BFE75C #5CE7C9
split-complementary
#845CE7 #E7C95C #79E75C
monochromatic
#451AAF #5C27DF #845CE7 #AC91EF #D5C7F7

Accessibility & contrast

On white

4.50
#845CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#845CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE7#FFFFFF#000000##000000
##845CE71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#687B99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845ce7;
/* rgb */ color: rgb(132, 92, 231);
/* oklch */ color: oklch(58.8% 0.201 292.4);
Tailwind
colors: {
  custom: {
    50: '#ae8cef',
    500: '#845ce7',
    950: '#000000',
  },
}
SCSS
$custom: #845ce7;
$custom-light: #ae8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce7",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 257.266,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.20081,
    "h": 292.4
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#845CE7
secondary
#DAE8B7
accent
#D60F9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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