#845CF3#845CF3

#845CF3 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.215 H 290.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#845CF3
RGBrgb(132, 92, 243)
HSLhsl(256, 86%, 66%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(45.7%, 62.1%, 0%, 4.7%)
CIE-LABlab(50.72, 51.00, -70.47)
CIE-LCHlch(50.72, 86.99, 305.89°)
OKLaboklab(59.7% 0.0757 -0.2015)
OKLCHoklch(59.7% 0.215 290.6)
XYZxyz(29.5160, 19.0298, 86.8946)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF3 #CBF35C
analogous
#5C7FF3 #845CF3 #CF5CF3
triadic
#845CF3 #F3845C #5CF384
tetradic
#845CF3 #F35C7F #CBF35C #5CF3CF
square
#845CF3 #F35C7F #CBF35C #5CF3CF
split-complementary
#845CF3 #F3CF5C #7FF35C
monochromatic
#3F0FC6 #5923EF #845CF3 #AF95F7 #DACEFB

Accessibility & contrast

On white

4.37
#845CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#845CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CF3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CF3#FFFFFF#000000##000000
##845CF31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#627F9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845cf3;
/* rgb */ color: rgb(132, 92, 243);
/* oklch */ color: oklch(59.7% 0.215 290.6);
Tailwind
colors: {
  custom: {
    50: '#af8cf8',
    500: '#845cf3',
    950: '#000000',
  },
}
SCSS
$custom: #845cf3;
$custom-light: #af8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf3",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 255.894,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.21527,
    "h": 290.6
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#845CF3
secondary
#E1EFBC
accent
#E303A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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