#845CF0#845CF0

#845CF0 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.212 H 291.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#845CF0
RGBrgb(132, 92, 240)
HSLhsl(256, 83%, 65%)
HSVhsv(256, 62%, 94%)
CMYKcmyk(45%, 61.7%, 0%, 5.9%)
CIE-LABlab(50.51, 50.18, -69.14)
CIE-LCHlch(50.51, 85.43, 305.97°)
OKLaboklab(59.48% 0.0759 -0.1976)
OKLCHoklch(59.48% 0.212 291)
XYZxyz(29.0666, 18.8501, 84.5281)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CF0 #C8F05C
analogous
#5C7EF0 #845CF0 #CE5CF0
triadic
#845CF0 #F0845C #5CF084
tetradic
#845CF0 #F05C7E #C8F05C #5CF0CE
square
#845CF0 #F05C7E #C8F05C #5CF0CE
split-complementary
#845CF0 #F0CE5C #7EF05C
monochromatic
#4112C0 #5A24EB #845CF0 #AE94F5 #D9CCFA

Accessibility & contrast

On white

4.40
#845CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#845CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CF0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CF0#FFFFFF#000000##000000
##845CF01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#637E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845cf0;
/* rgb */ color: rgb(132, 92, 240);
/* oklch */ color: oklch(59.5% 0.212 291.0);
Tailwind
colors: {
  custom: {
    50: '#af8cf6',
    500: '#845cf0',
    950: '#000000',
  },
}
SCSS
$custom: #845cf0;
$custom-light: #af8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#845cf0",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 256.216,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.21168,
    "h": 291
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#845CF0
secondary
#DFEDBB
accent
#E006A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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