#845BF1#845BF1

#845BF1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.214 H 291.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#845BF1
RGBrgb(132, 91, 241)
HSLhsl(256, 84%, 65%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(45.2%, 62.2%, 0%, 5.5%)
CIE-LABlab(50.38, 50.99, -69.91)
CIE-LCHlch(50.38, 86.53, 306.11°)
OKLaboklab(59.4% 0.0769 -0.1999)
OKLCHoklch(59.4% 0.214 291)
XYZxyz(29.1295, 18.7376, 85.2839)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BF1 #C8F15B
analogous
#5B7DF1 #845BF1 #CF5BF1
triadic
#845BF1 #F1845B #5BF184
tetradic
#845BF1 #F15B7D #C8F15B #5BF1CF
square
#845BF1 #F15B7D #C8F15B #5BF1CF
split-complementary
#845BF1 #F1CF5B #7DF15B
monochromatic
#4110C1 #5A23EC #845BF1 #AE93F6 #D9CCFB

Accessibility & contrast

On white

4.42
#845BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#845BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BF1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BF1#FFFFFF#000000##000000
##845BF11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#637E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845bf1;
/* rgb */ color: rgb(132, 91, 241);
/* oklch */ color: oklch(59.4% 0.214 291.0);
Tailwind
colors: {
  custom: {
    50: '#af8bf7',
    500: '#845bf1',
    950: '#000000',
  },
}
SCSS
$custom: #845bf1;
$custom-light: #af8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#845bf1",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 256.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.21414,
    "h": 291
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#845BF1
secondary
#DFEDBA
accent
#E105A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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