#5846AC#5846AC

#5846AC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.9% C 0.156 H 286.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5846AC
RGBrgb(88, 70, 172)
HSLhsl(251, 42%, 47%)
HSVhsv(251, 59%, 67%)
CMYKcmyk(48.8%, 59.3%, 0%, 32.5%)
CIE-LABlab(36.80, 34.29, -52.34)
CIE-LCHlch(36.80, 62.57, 303.23°)
OKLaboklab(46.95% 0.0453 -0.1496)
OKLCHoklch(46.95% 0.156 286.9)
XYZxyz(13.6589, 9.4330, 40.1228)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846AC #9AAC46
analogous
#4667AC #5846AC #8B46AC
triadic
#5846AC #AC5846 #46AC58
tetradic
#5846AC #AC4667 #9AAC46 #46AC8B
square
#5846AC #AC4667 #9AAC46 #46AC8B
split-complementary
#5846AC #AC8B46 #67AC46
monochromatic
#2B2355 #423481 #5846AC #7B6CC3 #A298D5

Accessibility & contrast

On white

7.27
#5846AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5846AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5846AC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846AC#FFFFFF#000000##FFFFFF
##5846AC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#3B5D72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5846ac;
/* rgb */ color: rgb(88, 70, 172);
/* oklch */ color: oklch(46.9% 0.156 286.9);
Tailwind
colors: {
  custom: {
    50: '#8e7ac5',
    500: '#5846ac',
    950: '#000000',
  },
}
SCSS
$custom: #5846ac;
$custom-light: #8e7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#5846ac",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 250.588,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.15633,
    "h": 286.9
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#5846AC
secondary
#B8C18D
accent
#D256BC
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5846AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5846AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva