#845CFC#845CFC

#845CFC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.226 H 289.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#845CFC
RGBrgb(132, 92, 252)
HSLhsl(255, 96%, 67%)
HSVhsv(255, 63%, 99%)
CMYKcmyk(47.6%, 63.5%, 0%, 1.2%)
CIE-LABlab(51.37, 53.46, -74.44)
CIE-LCHlch(51.37, 91.65, 305.68°)
OKLaboklab(60.37% 0.0749 -0.2132)
OKLCHoklch(60.37% 0.226 289.3)
XYZxyz(30.9085, 19.5868, 94.2286)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CFC #D4FC5C
analogous
#5C84FC #845CFC #D45CFC
triadic
#845CFC #FC845C #5CFC84
tetradic
#845CFC #FC5C84 #D4FC5C #5CFCD4
square
#845CFC #FC5C84 #D4FC5C #5CFCD4
split-complementary
#845CFC #FCD45C #84FC5C
monochromatic
#3904DA #5720FB #845CFC #B198FD #DFD4FE

Accessibility & contrast

On white

4.27
#845CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#845CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CFC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CFC#FFFFFF#000000##000000
##845CFC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0076F9
Tritanopia (blue-blind)
#5C83A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845cfc;
/* rgb */ color: rgb(132, 92, 252);
/* oklch */ color: oklch(60.4% 0.226 289.3);
Tailwind
colors: {
  custom: {
    50: '#b08cfe',
    500: '#845cfc',
    950: '#000000',
  },
}
SCSS
$custom: #845cfc;
$custom-light: #b08cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#845cfc",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 255,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60367,
    "c": 0.22596,
    "h": 289.3
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#845CFC
secondary
#E6F3C1
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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