#845ACA#845ACA

#845ACA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.168 H 298.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#845ACA
RGBrgb(132, 90, 202)
HSLhsl(263, 51%, 57%)
HSVhsv(263, 55%, 79%)
CMYKcmyk(34.7%, 55.4%, 0%, 20.8%)
CIE-LABlab(47.60, 41.14, -52.28)
CIE-LCHlch(47.60, 66.52, 308.20°)
OKLaboklab(56.55% 0.0792 -0.148)
OKLCHoklch(56.55% 0.168 298.1)
XYZxyz(23.8299, 16.4818, 57.7915)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845ACA #A0CA5A
analogous
#5A68CA #845ACA #BC5ACA
triadic
#845ACA #CA845A #5ACA84
tetradic
#845ACA #CA5A68 #A0CA5A #5ACABC
square
#845ACA #CA5A68 #A0CA5A #5ACABC
split-complementary
#845ACA #CABC5A #68CA5A
monochromatic
#4A2980 #6538AF #845ACA #A788D9 #C9B7E8

Accessibility & contrast

On white

4.89
#845ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#845ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845ACA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845ACA#FFFFFF#000000##FFFFFF
##845ACA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#747189
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #845aca;
/* rgb */ color: rgb(132, 90, 202);
/* oklch */ color: oklch(56.6% 0.168 298.1);
Tailwind
colors: {
  custom: {
    50: '#ac8adb',
    500: '#845aca',
    950: '#000000',
  },
}
SCSS
$custom: #845aca;
$custom-light: #ac8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#845aca",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 262.5,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.16789,
    "h": 298.1
  },
  "luminance": 0.16482
}

Semantic roles & 50–950 ramp

primary
#845ACA
secondary
#C6D7A9
accent
#DB4DA6
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #845ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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