#845DF0#845DF0

#845DF0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.210 H 290.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#845DF0
RGBrgb(132, 93, 240)
HSLhsl(256, 83%, 65%)
HSVhsv(256, 61%, 94%)
CMYKcmyk(45%, 61.2%, 0%, 5.9%)
CIE-LABlab(50.72, 49.63, -68.81)
CIE-LCHlch(50.72, 84.84, 305.80°)
OKLaboklab(59.63% 0.0748 -0.1966)
OKLCHoklch(59.63% 0.21 290.8)
XYZxyz(29.1538, 19.0245, 84.5572)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845DF0 #C9F05D
analogous
#5D80F0 #845DF0 #CD5DF0
triadic
#845DF0 #F0845D #5DF084
tetradic
#845DF0 #F05D80 #C9F05D #5DF0CD
square
#845DF0 #F05D80 #C9F05D #5DF0CD
split-complementary
#845DF0 #F0CD5D #80F05D
monochromatic
#4012C1 #5925EB #845DF0 #AF95F5 #D9CDFA

Accessibility & contrast

On white

4.37
#845DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#845DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845DF0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845DF0#FFFFFF#000000##000000
##845DF01.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #845df0;
/* rgb */ color: rgb(132, 93, 240);
/* oklch */ color: oklch(59.6% 0.210 290.8);
Tailwind
colors: {
  custom: {
    50: '#af8df6',
    500: '#845df0',
    950: '#000000',
  },
}
SCSS
$custom: #845df0;
$custom-light: #af8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#845df0",
  "rgb": {
    "r": 132,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 255.918,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.21039,
    "h": 290.8
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#845DF0
secondary
#E0EDBC
accent
#DF06A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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