#845CF1#845CF1

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

Color values

HEX#845CF1
RGBrgb(132, 92, 241)
HSLhsl(256, 84%, 65%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(45.2%, 61.8%, 0%, 5.5%)
CIE-LABlab(50.58, 50.45, -69.58)
CIE-LCHlch(50.58, 85.95, 305.94°)
OKLaboklab(59.55% 0.0758 -0.1989)
OKLCHoklch(59.55% 0.213 290.9)
XYZxyz(29.2156, 18.9097, 85.3126)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF1 #C9F15C
analogous
#5C7FF1 #845CF1 #CE5CF1
triadic
#845CF1 #F1845C #5CF184
tetradic
#845CF1 #F15C7F #C9F15C #5CF1CE
square
#845CF1 #F15C7F #C9F15C #5CF1CE
split-complementary
#845CF1 #F1CE5C #7FF15C
monochromatic
#4011C2 #5924EC #845CF1 #AF94F6 #D9CDFB

Accessibility & contrast

On white

4.39
#845CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#845CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CF1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CF1#FFFFFF#000000##000000
##845CF11.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #845cf1;
/* rgb */ color: rgb(132, 92, 241);
/* oklch */ color: oklch(59.6% 0.213 290.9);
Tailwind
colors: {
  custom: {
    50: '#af8cf7',
    500: '#845cf1',
    950: '#000000',
  },
}
SCSS
$custom: #845cf1;
$custom-light: #af8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf1",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 256.107,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5955,
    "c": 0.21288,
    "h": 290.9
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#845CF1
secondary
#E0EEBB
accent
#E105A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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