#845DF1#845DF1

#845DF1 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.212 H 290.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#845DF1
RGBrgb(132, 93, 241)
HSLhsl(256, 84%, 65%)
HSVhsv(256, 61%, 95%)
CMYKcmyk(45.2%, 61.4%, 0%, 5.5%)
CIE-LABlab(50.79, 49.91, -69.25)
CIE-LCHlch(50.79, 85.36, 305.78°)
OKLaboklab(59.7% 0.0748 -0.1979)
OKLCHoklch(59.7% 0.212 290.7)
XYZxyz(29.3028, 19.0841, 85.3417)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DF1 #CAF15D
analogous
#5D80F1 #845DF1 #CE5DF1
triadic
#845DF1 #F1845D #5DF184
tetradic
#845DF1 #F15D80 #CAF15D #5DF1CE
square
#845DF1 #F15D80 #CAF15D #5DF1CE
split-complementary
#845DF1 #F1CE5D #80F15D
monochromatic
#4011C3 #5925EC #845DF1 #AF95F6 #DACEFB

Accessibility & contrast

On white

4.36
#845DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#845DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DF1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DF1#FFFFFF#000000##000000
##845DF11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#637F9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845df1;
/* rgb */ color: rgb(132, 93, 241);
/* oklch */ color: oklch(59.7% 0.212 290.7);
Tailwind
colors: {
  custom: {
    50: '#af8df7',
    500: '#845df1',
    950: '#000000',
  },
}
SCSS
$custom: #845df1;
$custom-light: #af8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#845df1",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 255.811,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.21159,
    "h": 290.7
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#845DF1
secondary
#E1EEBC
accent
#E105A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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