#845FCA#845FCA

#845FCA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.160 H 297.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#845FCA
RGBrgb(132, 95, 202)
HSLhsl(261, 50%, 58%)
HSVhsv(261, 53%, 79%)
CMYKcmyk(34.7%, 53%, 0%, 20.8%)
CIE-LABlab(48.70, 38.30, -50.51)
CIE-LCHlch(48.70, 63.39, 307.17°)
OKLaboklab(57.37% 0.0729 -0.1429)
OKLCHoklch(57.37% 0.16 297)
XYZxyz(24.2659, 17.3539, 57.9368)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FCA #A5CA5F
analogous
#5F6FCA #845FCA #BA5FCA
triadic
#845FCA #CA845F #5FCA84
tetradic
#845FCA #CA5F6F #A5CA5F #5FCABA
square
#845FCA #CA5F6F #A5CA5F #5FCABA
split-complementary
#845FCA #CABA5F #6FCA5F
monochromatic
#4A2B83 #643BB1 #845FCA #A78DD9 #CBBBE8

Accessibility & contrast

On white

4.70
#845FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#845FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845FCA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FCA#FFFFFF#000000##FFFFFF
##845FCA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#74748B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845fca;
/* rgb */ color: rgb(132, 95, 202);
/* oklch */ color: oklch(57.4% 0.160 297.0);
Tailwind
colors: {
  custom: {
    50: '#ab8ddb',
    500: '#845fca',
    950: '#000000',
  },
}
SCSS
$custom: #845fca;
$custom-light: #ab8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#845fca",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 260.748,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.16036,
    "h": 297
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#845FCA
secondary
#C9D8AD
accent
#DA4EA9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #845FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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