#845FBF#845FBF

#845FBF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.146 H 299.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#845FBF
RGBrgb(132, 95, 191)
HSLhsl(263, 43%, 56%)
HSVhsv(263, 50%, 75%)
CMYKcmyk(30.9%, 50.3%, 0%, 25.1%)
CIE-LABlab(48.07, 35.45, -45.18)
CIE-LCHlch(48.07, 57.42, 308.12°)
OKLaboklab(56.7% 0.072 -0.1272)
OKLCHoklch(56.7% 0.146 299.5)
XYZxyz(23.0097, 16.8514, 51.3205)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FBF #9ABF5F
analogous
#5F6ABF #845FBF #B45FBF
triadic
#845FBF #BF845F #5FBF84
tetradic
#845FBF #BF5F6A #9ABF5F #5FBFB4
square
#845FBF #BF5F6A #9ABF5F #5FBFB4
split-complementary
#845FBF #BFB45F #6ABF5F
monochromatic
#4A2F75 #6540A1 #845FBF #A68BD0 #C7B6E2

Accessibility & contrast

On white

4.81
#845FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#845FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FBF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FBF#FFFFFF#000000##FFFFFF
##845FBF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#787186
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #845fbf;
/* rgb */ color: rgb(132, 95, 191);
/* oklch */ color: oklch(56.7% 0.146 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa8dd3',
    500: '#845fbf',
    950: '#000000',
  },
}
SCSS
$custom: #845fbf;
$custom-light: #aa8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#845fbf",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 263.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.14621,
    "h": 299.5
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#845FBF
secondary
#C1D1A9
accent
#D355A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #845FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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