#845BF3#845BF3

#845BF3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.217 H 290.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#845BF3
RGBrgb(132, 91, 243)
HSLhsl(256, 86%, 65%)
HSVhsv(256, 63%, 95%)
CMYKcmyk(45.7%, 62.6%, 0%, 4.7%)
CIE-LABlab(50.52, 51.54, -70.80)
CIE-LCHlch(50.52, 87.57, 306.05°)
OKLaboklab(59.55% 0.0767 -0.2025)
OKLCHoklch(59.55% 0.217 290.7)
XYZxyz(29.4299, 18.8577, 86.8659)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BF3 #CAF35B
analogous
#5B7EF3 #845BF3 #D05BF3
triadic
#845BF3 #F3845B #5BF384
tetradic
#845BF3 #F35B7E #CAF35B #5BF3D0
square
#845BF3 #F35B7E #CAF35B #5BF3D0
split-complementary
#845BF3 #F3D05B #7EF35B
monochromatic
#400EC5 #5922EF #845BF3 #AF94F7 #DACDFB

Accessibility & contrast

On white

4.40
#845BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#845BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BF3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BF3#FFFFFF#000000##000000
##845BF31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#627F9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845bf3;
/* rgb */ color: rgb(132, 91, 243);
/* oklch */ color: oklch(59.6% 0.217 290.7);
Tailwind
colors: {
  custom: {
    50: '#af8bf8',
    500: '#845bf3',
    950: '#000000',
  },
}
SCSS
$custom: #845bf3;
$custom-light: #af8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#845bf3",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 256.184,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5955,
    "c": 0.21653,
    "h": 290.7
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#845BF3
secondary
#E1EEBB
accent
#E303A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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