#845DFC#845DFC

#845DFC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.225 H 289.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#845DFC
RGBrgb(132, 93, 252)
HSLhsl(255, 96%, 68%)
HSVhsv(255, 63%, 99%)
CMYKcmyk(47.6%, 63.1%, 0%, 1.2%)
CIE-LABlab(51.57, 52.92, -74.12)
CIE-LCHlch(51.57, 91.07, 305.53°)
OKLaboklab(60.51% 0.0739 -0.2122)
OKLCHoklch(60.51% 0.225 289.2)
XYZxyz(30.9957, 19.7612, 94.2577)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DFC #D5FC5D
analogous
#5D85FC #845DFC #D45DFC
triadic
#845DFC #FC845D #5DFC84
tetradic
#845DFC #FC5D85 #D5FC5D #5DFCD4
square
#845DFC #FC5D85 #D5FC5D #5DFCD4
split-complementary
#845DFC #FCD45D #85FC5D
monochromatic
#3904DB #5621FB #845DFC #B299FD #DFD5FE

Accessibility & contrast

On white

4.24
#845DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#845DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DFC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DFC#FFFFFF#000000##000000
##845DFC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #845dfc;
/* rgb */ color: rgb(132, 93, 252);
/* oklch */ color: oklch(60.5% 0.225 289.2);
Tailwind
colors: {
  custom: {
    50: '#b08dfe',
    500: '#845dfc',
    950: '#000000',
  },
}
SCSS
$custom: #845dfc;
$custom-light: #b08dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#845dfc",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 254.717,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.22474,
    "h": 289.2
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#845DFC
secondary
#E7F3C2
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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