#845FCC#845FCC

#845FCC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.163 H 296.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845FCC
RGBrgb(132, 95, 204)
HSLhsl(260, 52%, 59%)
HSVhsv(260, 53%, 80%)
CMYKcmyk(35.3%, 53.4%, 0%, 20%)
CIE-LABlab(48.82, 38.83, -51.47)
CIE-LCHlch(48.82, 64.47, 307.03°)
OKLaboklab(57.49% 0.073 -0.1457)
OKLCHoklch(57.49% 0.163 296.6)
XYZxyz(24.5043, 17.4492, 59.1920)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FCC #A7CC5F
analogous
#5F70CC #845FCC #BA5FCC
triadic
#845FCC #CC845F #5FCC84
tetradic
#845FCC #CC5F70 #A7CC5F #5FCCBA
square
#845FCC #CC5F70 #A7CC5F #5FCCBA
split-complementary
#845FCC #CCBA5F #70CC5F
monochromatic
#4A2B86 #6339B4 #845FCC #A88DDB #CBBCEA

Accessibility & contrast

On white

4.68
#845FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#845FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FCC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FCC#FFFFFF#000000##FFFFFF
##845FCC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3275D0
Deuteranopia (green-blind)
#3C73C9
Tritanopia (blue-blind)
#73758C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845fcc;
/* rgb */ color: rgb(132, 95, 204);
/* oklch */ color: oklch(57.5% 0.163 296.6);
Tailwind
colors: {
  custom: {
    50: '#ab8ddc',
    500: '#845fcc',
    950: '#000000',
  },
}
SCSS
$custom: #845fcc;
$custom-light: #ab8ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#845fcc",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 260.367,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.16292,
    "h": 296.6
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#845FCC
secondary
#CAD9AE
accent
#DB4DAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #845FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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