#845DF3#845DF3

#845DF3 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.214 H 290.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#845DF3
RGBrgb(132, 93, 243)
HSLhsl(256, 86%, 66%)
HSVhsv(256, 62%, 95%)
CMYKcmyk(45.7%, 61.7%, 0%, 4.7%)
CIE-LABlab(50.93, 50.45, -70.15)
CIE-LCHlch(50.93, 86.41, 305.73°)
OKLaboklab(59.84% 0.0746 -0.2006)
OKLCHoklch(59.84% 0.214 290.4)
XYZxyz(29.6032, 19.2042, 86.9237)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DF3 #CCF35D
analogous
#5D81F3 #845DF3 #CF5DF3
triadic
#845DF3 #F3845D #5DF384
tetradic
#845DF3 #F35D81 #CCF35D #5DF3CF
square
#845DF3 #F35D81 #CCF35D #5DF3CF
split-complementary
#845DF3 #F3CF5D #81F35D
monochromatic
#3F0FC7 #5924EF #845DF3 #AF96F7 #DBCFFB

Accessibility & contrast

On white

4.34
#845DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#845DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DF3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DF3#FFFFFF#000000##000000
##845DF31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#6280A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845df3;
/* rgb */ color: rgb(132, 93, 243);
/* oklch */ color: oklch(59.8% 0.214 290.4);
Tailwind
colors: {
  custom: {
    50: '#af8df8',
    500: '#845df3',
    950: '#000000',
  },
}
SCSS
$custom: #845df3;
$custom-light: #af8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#845df3",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 255.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.214,
    "h": 290.4
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#845DF3
secondary
#E2EFBD
accent
#E303A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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