#845FE0#845FE0

#845FE0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.188 H 292.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#845FE0
RGBrgb(132, 95, 224)
HSLhsl(257, 68%, 63%)
HSVhsv(257, 58%, 88%)
CMYKcmyk(41.1%, 57.6%, 0%, 12.2%)
CIE-LABlab(50.06, 44.17, -60.86)
CIE-LCHlch(50.06, 75.20, 305.97°)
OKLaboklab(58.81% 0.0733 -0.1733)
OKLCHoklch(58.81% 0.188 292.9)
XYZxyz(27.0588, 18.4710, 72.6462)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845FE0 #BBE05F
analogous
#5F7BE0 #845FE0 #C45FE0
triadic
#845FE0 #E0845F #5FE084
tetradic
#845FE0 #E05F7B #BBE05F #5FE0C4
square
#845FE0 #E05F7B #BBE05F #5FE0C4
split-complementary
#845FE0 #E0C45F #7BE05F
monochromatic
#4620A5 #5D2CD6 #845FE0 #AB92EA #D3C6F4

Accessibility & contrast

On white

4.47
#845FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#845FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845FE0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845FE0#FFFFFF#000000##000000
##845FE01.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0979E4
Deuteranopia (green-blind)
#1E75DD
Tritanopia (blue-blind)
#6B7B96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845fe0;
/* rgb */ color: rgb(132, 95, 224);
/* oklch */ color: oklch(58.8% 0.188 292.9);
Tailwind
colors: {
  custom: {
    50: '#ad8eea',
    500: '#845fe0',
    950: '#000000',
  },
}
SCSS
$custom: #845fe0;
$custom-light: #ad8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#845fe0",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 257.209,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.18812,
    "h": 292.9
  },
  "luminance": 0.18472
}

Semantic roles & 50–950 ramp

primary
#845FE0
secondary
#D7E5B6
accent
#CF169A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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