#845FF3#845FF3

#845FF3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.1% C 0.211 H 290.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#845FF3
RGBrgb(132, 95, 243)
HSLhsl(255, 86%, 66%)
HSVhsv(255, 61%, 95%)
CMYKcmyk(45.7%, 60.9%, 0%, 4.7%)
CIE-LABlab(51.34, 49.36, -69.48)
CIE-LCHlch(51.34, 85.23, 305.39°)
OKLaboklab(60.14% 0.0726 -0.1986)
OKLCHoklch(60.14% 0.211 290.1)
XYZxyz(29.7810, 19.5599, 86.9829)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FF3 #CEF35F
analogous
#5F84F3 #845FF3 #CE5FF3
triadic
#845FF3 #F3845F #5FF384
tetradic
#845FF3 #F35F84 #CEF35F #5FF3CE
square
#845FF3 #F35F84 #CEF35F #5FF3CE
split-complementary
#845FF3 #F3CE5F #84F35F
monochromatic
#3D0FC9 #5826EF #845FF3 #B098F7 #DCD1FC

Accessibility & contrast

On white

4.28
#845FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#845FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FF3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FF3#FFFFFF#000000##000000
##845FF31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #845ff3;
/* rgb */ color: rgb(132, 95, 243);
/* oklch */ color: oklch(60.1% 0.211 290.1);
Tailwind
colors: {
  custom: {
    50: '#af8ef8',
    500: '#845ff3',
    950: '#000000',
  },
}
SCSS
$custom: #845ff3;
$custom-light: #af8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#845ff3",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 255,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.21145,
    "h": 290.1
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#845FF3
secondary
#E3EFBF
accent
#E303AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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