#845FCE#845FCE

#845FCE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.165 H 296.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#845FCE
RGBrgb(132, 95, 206)
HSLhsl(260, 53%, 59%)
HSVhsv(260, 54%, 81%)
CMYKcmyk(35.9%, 53.9%, 0%, 19.2%)
CIE-LABlab(48.94, 39.35, -52.42)
CIE-LCHlch(48.94, 65.55, 306.89°)
OKLaboklab(57.62% 0.073 -0.1485)
OKLCHoklch(57.62% 0.165 296.2)
XYZxyz(24.7457, 17.5458, 60.4635)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FCE #A9CE5F
analogous
#5F72CE #845FCE #BC5FCE
triadic
#845FCE #CE845F #5FCE84
tetradic
#845FCE #CE5F72 #A9CE5F #5FCEBC
square
#845FCE #CE5F72 #A9CE5F #5FCEBC
split-complementary
#845FCE #CEBC5F #72CE5F
monochromatic
#492A89 #6338B8 #845FCE #A88EDC #CCBDEB

Accessibility & contrast

On white

4.66
#845FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#845FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845FCE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FCE#FFFFFF#000000##FFFFFF
##845FCE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#73768D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845fce;
/* rgb */ color: rgb(132, 95, 206);
/* oklch */ color: oklch(57.6% 0.165 296.2);
Tailwind
colors: {
  custom: {
    50: '#ac8ddd',
    500: '#845fce',
    950: '#000000',
  },
}
SCSS
$custom: #845fce;
$custom-light: #ac8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#845fce",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 260,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.16546,
    "h": 296.2
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#845FCE
secondary
#CCDAAF
accent
#DD4BAC
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #845FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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