#845AF3#845AF3

#845AF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.218 H 290.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#845AF3
RGBrgb(132, 90, 243)
HSLhsl(256, 86%, 65%)
HSVhsv(256, 63%, 95%)
CMYKcmyk(45.7%, 63%, 0%, 4.7%)
CIE-LABlab(50.32, 52.07, -71.13)
CIE-LCHlch(50.32, 88.15, 306.21°)
OKLaboklab(59.4% 0.0777 -0.2034)
OKLCHoklch(59.4% 0.218 290.9)
XYZxyz(29.3450, 18.6879, 86.8376)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AF3 #C9F35A
analogous
#5A7CF3 #845AF3 #D15AF3
triadic
#845AF3 #F3845A #5AF384
tetradic
#845AF3 #F35A7C #C9F35A #5AF3D1
square
#845AF3 #F35A7C #C9F35A #5AF3D1
split-complementary
#845AF3 #F3D15A #7CF35A
monochromatic
#400EC4 #5921EF #845AF3 #AF93F7 #D9CCFB

Accessibility & contrast

On white

4.43
#845AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#845AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845AF3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AF3#FFFFFF#000000##000000
##845AF31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#627E9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845af3;
/* rgb */ color: rgb(132, 90, 243);
/* oklch */ color: oklch(59.4% 0.218 290.9);
Tailwind
colors: {
  custom: {
    50: '#af8bf8',
    500: '#845af3',
    950: '#000000',
  },
}
SCSS
$custom: #845af3;
$custom-light: #af8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#845af3",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 256.471,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.21778,
    "h": 290.9
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#845AF3
secondary
#E0EEBB
accent
#E303A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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