#845FBC#845FBC

#845FBC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.142 H 300.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#845FBC
RGBrgb(132, 95, 188)
HSLhsl(264, 41%, 55%)
HSVhsv(264, 49%, 74%)
CMYKcmyk(29.8%, 49.5%, 0%, 26.3%)
CIE-LABlab(47.91, 34.68, -43.70)
CIE-LCHlch(47.91, 55.79, 308.43°)
OKLaboklab(56.52% 0.0717 -0.1229)
OKLCHoklch(56.52% 0.142 300.3)
XYZxyz(22.6829, 16.7207, 49.5996)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FBC #97BC5F
analogous
#5F68BC #845FBC #B25FBC
triadic
#845FBC #BC845F #5FBC84
tetradic
#845FBC #BC5F68 #97BC5F #5FBCB2
square
#845FBC #BC5F68 #97BC5F #5FBCB2
split-complementary
#845FBC #BCB25F #68BC5F
monochromatic
#4A2F71 #66419C #845FBC #A58ACE #C6B5E0

Accessibility & contrast

On white

4.83
#845FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#845FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FBC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FBC#FFFFFF#000000##FFFFFF
##845FBC1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#797085
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #845fbc;
/* rgb */ color: rgb(132, 95, 188);
/* oklch */ color: oklch(56.5% 0.142 300.3);
Tailwind
colors: {
  custom: {
    50: '#aa8dd0',
    500: '#845fbc',
    950: '#000000',
  },
}
SCSS
$custom: #845fbc;
$custom-light: #aa8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#845fbc",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 263.871,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.14234,
    "h": 300.3
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#845FBC
secondary
#BFCFA8
accent
#D157A0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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