#5846AE#5846AE

#5846AE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.1% C 0.159 H 286.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5846AE
RGBrgb(88, 70, 174)
HSLhsl(250, 43%, 48%)
HSVhsv(250, 60%, 68%)
CMYKcmyk(49.4%, 59.8%, 0%, 31.8%)
CIE-LABlab(36.95, 34.90, -53.30)
CIE-LCHlch(36.95, 63.71, 303.22°)
OKLaboklab(47.1% 0.0453 -0.1524)
OKLCHoklch(47.1% 0.159 286.5)
XYZxyz(13.8524, 9.5104, 41.1420)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846AE #9CAE46
analogous
#4668AE #5846AE #8C46AE
triadic
#5846AE #AE5846 #46AE58
tetradic
#5846AE #AE4668 #9CAE46 #46AE8C
square
#5846AE #AE4668 #9CAE46 #46AE8C
split-complementary
#5846AE #AE8C46 #68AE46
monochromatic
#2C2357 #423482 #5846AE #7C6DC4 #A399D6

Accessibility & contrast

On white

7.24
#5846AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5846AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5846AE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846AE#FFFFFF#000000##FFFFFF
##5846AE1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#3A5E73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5846ae;
/* rgb */ color: rgb(88, 70, 174);
/* oklch */ color: oklch(47.1% 0.159 286.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ac7',
    500: '#5846ae',
    950: '#000000',
  },
}
SCSS
$custom: #5846ae;
$custom-light: #8e7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#5846ae",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 250.385,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.15901,
    "h": 286.5
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#5846AE
secondary
#B9C28E
accent
#D255BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5846AE

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

Preview Lab → · Contrast checker → · Palette generator →

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