#845BF0#845BF0

#845BF0 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.213 H 291.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#845BF0
RGBrgb(132, 91, 240)
HSLhsl(257, 83%, 65%)
HSVhsv(257, 62%, 94%)
CMYKcmyk(45%, 62.1%, 0%, 5.9%)
CIE-LABlab(50.31, 50.72, -69.47)
CIE-LCHlch(50.31, 86.01, 306.13°)
OKLaboklab(59.33% 0.0769 -0.1986)
OKLCHoklch(59.33% 0.213 291.2)
XYZxyz(28.9806, 18.6780, 84.4994)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BF0 #C7F05B
analogous
#5B7DF0 #845BF0 #CE5BF0
triadic
#845BF0 #F0845B #5BF084
tetradic
#845BF0 #F05B7D #C7F05B #5BF0CE
square
#845BF0 #F05B7D #C7F05B #5BF0CE
split-complementary
#845BF0 #F0CE5B #7DF05B
monochromatic
#4111BF #5A23EB #845BF0 #AE93F5 #D8CBFA

Accessibility & contrast

On white

4.43
#845BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#845BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BF0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BF0#FFFFFF#000000##000000
##845BF01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#637E9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845bf0;
/* rgb */ color: rgb(132, 91, 240);
/* oklch */ color: oklch(59.3% 0.213 291.2);
Tailwind
colors: {
  custom: {
    50: '#af8bf6',
    500: '#845bf0',
    950: '#000000',
  },
}
SCSS
$custom: #845bf0;
$custom-light: #af8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#845bf0",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 256.51,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.21295,
    "h": 291.2
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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