#845CF4#845CF4

#845CF4 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.216 H 290.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#845CF4
RGBrgb(132, 92, 244)
HSLhsl(256, 87%, 66%)
HSVhsv(256, 62%, 96%)
CMYKcmyk(45.9%, 62.3%, 0%, 4.3%)
CIE-LABlab(50.79, 51.27, -70.92)
CIE-LCHlch(50.79, 87.51, 305.86°)
OKLaboklab(59.77% 0.0756 -0.2028)
OKLCHoklch(59.77% 0.216 290.4)
XYZxyz(29.6674, 19.0904, 87.6921)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF4 #CCF45C
analogous
#5C80F4 #845CF4 #D05CF4
triadic
#845CF4 #F4845C #5CF484
tetradic
#845CF4 #F45C80 #CCF45C #5CF4D0
square
#845CF4 #F45C80 #CCF45C #5CF4D0
split-complementary
#845CF4 #F4D05C #80F45C
monochromatic
#3F0EC8 #5923F0 #845CF4 #AF95F8 #DBCFFC

Accessibility & contrast

On white

4.36
#845CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#845CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CF4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CF4#FFFFFF#000000##000000
##845CF41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#6180A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845cf4;
/* rgb */ color: rgb(132, 92, 244);
/* oklch */ color: oklch(59.8% 0.216 290.4);
Tailwind
colors: {
  custom: {
    50: '#af8cf9',
    500: '#845cf4',
    950: '#000000',
  },
}
SCSS
$custom: #845cf4;
$custom-light: #af8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf4",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 255.789,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.21646,
    "h": 290.4
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#845CF4
secondary
#E2EFBD
accent
#E402A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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