#845CA3#845CA3

#845CA3 is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.6% C 0.115 H 309.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#845CA3
RGBrgb(132, 92, 163)
HSLhsl(274, 28%, 50%)
HSVhsv(274, 44%, 64%)
CMYKcmyk(19%, 43.6%, 0%, 36.1%)
CIE-LABlab(45.91, 30.29, -32.22)
CIE-LCHlch(45.91, 44.23, 313.23°)
OKLaboklab(54.6% 0.0725 -0.0895)
OKLCHoklch(54.6% 0.115 309)
XYZxyz(19.9525, 15.2044, 36.5269)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CA3 #7BA35C
analogous
#615CA3 #845CA3 #A35C9E
triadic
#845CA3 #A3845C #5CA384
tetradic
#845CA3 #A3615C #7BA35C #5C9EA3
square
#845CA3 #A3615C #7BA35C #5C9EA3
split-complementary
#845CA3 #9EA35C #5CA361
monochromatic
#453055 #64467C #845CA3 #A283B9 #BFAACF

Accessibility & contrast

On white

5.20
#845CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#845CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845CA3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CA3#FFFFFF#000000##FFFFFF
##845CA31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#806778
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #845ca3;
/* rgb */ color: rgb(132, 92, 163);
/* oklch */ color: oklch(54.6% 0.115 309.0);
Tailwind
colors: {
  custom: {
    50: '#a98bbe',
    500: '#845ca3',
    950: '#000000',
  },
}
SCSS
$custom: #845ca3;
$custom-light: #a98bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#845ca3",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 273.803,
    "s": 27.843,
    "l": 50
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.1152,
    "h": 309
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#845CA3
secondary
#ABBD9D
accent
#C4648E
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #845CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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