#845BF5#845BF5

#845BF5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.219 H 290.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#845BF5
RGBrgb(132, 91, 245)
HSLhsl(256, 89%, 66%)
HSVhsv(256, 63%, 96%)
CMYKcmyk(46.1%, 62.9%, 0%, 3.9%)
CIE-LABlab(50.66, 52.08, -71.69)
CIE-LCHlch(50.66, 88.61, 306.00°)
OKLaboklab(59.7% 0.0765 -0.2051)
OKLCHoklch(59.7% 0.219 290.5)
XYZxyz(29.7336, 18.9792, 88.4652)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BF5 #CCF55B
analogous
#5B7FF5 #845BF5 #D15BF5
triadic
#845BF5 #F5845B #5BF584
tetradic
#845BF5 #F55B7F #CCF55B #5BF5D1
square
#845BF5 #F55B7F #CCF55B #5BF5D1
split-complementary
#845BF5 #F5D15B #7FF55B
monochromatic
#3F0CC9 #5921F1 #845BF5 #AF95F9 #DBCEFC

Accessibility & contrast

On white

4.38
#845BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#845BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BF5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BF5#FFFFFF#000000##000000
##845BF51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#6180A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845bf5;
/* rgb */ color: rgb(132, 91, 245);
/* oklch */ color: oklch(59.7% 0.219 290.5);
Tailwind
colors: {
  custom: {
    50: '#b08bf9',
    500: '#845bf5',
    950: '#000000',
  },
}
SCSS
$custom: #845bf5;
$custom-light: #b08bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#845bf5",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 255.974,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.21891,
    "h": 290.5
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#845BF5
secondary
#E2EFBC
accent
#E500A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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