#845CF5#845CF5

#845CF5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.218 H 290.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#845CF5
RGBrgb(132, 92, 245)
HSLhsl(256, 88%, 66%)
HSVhsv(256, 62%, 96%)
CMYKcmyk(46.1%, 62.4%, 0%, 3.9%)
CIE-LABlab(50.86, 51.54, -71.36)
CIE-LCHlch(50.86, 88.03, 305.84°)
OKLaboklab(59.84% 0.0755 -0.2041)
OKLCHoklch(59.84% 0.218 290.3)
XYZxyz(29.8196, 19.1513, 88.4939)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF5 #CDF55C
analogous
#5C80F5 #845CF5 #D05CF5
triadic
#845CF5 #F5845C #5CF584
tetradic
#845CF5 #F55C80 #CDF55C #5CF5D0
square
#845CF5 #F55C80 #CDF55C #5CF5D0
split-complementary
#845CF5 #F5D05C #80F55C
monochromatic
#3E0CCA #5822F1 #845CF5 #B096F9 #DBCFFC

Accessibility & contrast

On white

4.35
#845CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#845CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CF5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CF5#FFFFFF#000000##000000
##845CF51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#6080A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845cf5;
/* rgb */ color: rgb(132, 92, 245);
/* oklch */ color: oklch(59.8% 0.218 290.3);
Tailwind
colors: {
  custom: {
    50: '#b08cf9',
    500: '#845cf5',
    950: '#000000',
  },
}
SCSS
$custom: #845cf5;
$custom-light: #b08cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf5",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 255.686,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.21765,
    "h": 290.3
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#845CF5
secondary
#E2F0BD
accent
#E500A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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