#845EF3#845EF3

#845EF3 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.213 H 290.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#845EF3
RGBrgb(132, 94, 243)
HSLhsl(255, 86%, 66%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(45.7%, 61.3%, 0%, 4.7%)
CIE-LABlab(51.13, 49.91, -69.81)
CIE-LCHlch(51.13, 85.82, 305.56°)
OKLaboklab(59.99% 0.0736 -0.1996)
OKLCHoklch(59.99% 0.213 290.2)
XYZxyz(29.6915, 19.3809, 86.9531)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EF3 #CDF35E
analogous
#5E82F3 #845EF3 #CE5EF3
triadic
#845EF3 #F3845E #5EF384
tetradic
#845EF3 #F35E82 #CDF35E #5EF3CE
square
#845EF3 #F35E82 #CDF35E #5EF3CE
split-complementary
#845EF3 #F3CE5E #82F35E
monochromatic
#3E0FC8 #5825EF #845EF3 #B097F7 #DBD0FB

Accessibility & contrast

On white

4.31
#845EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#845EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EF3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EF3#FFFFFF#000000##000000
##845EF31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#6281A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845ef3;
/* rgb */ color: rgb(132, 94, 243);
/* oklch */ color: oklch(60.0% 0.213 290.2);
Tailwind
colors: {
  custom: {
    50: '#af8df8',
    500: '#845ef3',
    950: '#000000',
  },
}
SCSS
$custom: #845ef3;
$custom-light: #af8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#845ef3",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 255.302,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.21272,
    "h": 290.2
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#845EF3
secondary
#E2EFBE
accent
#E303AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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