#5847CA#5847CA

#5847CA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.5% C 0.194 H 282.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5847CA
RGBrgb(88, 71, 202)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 65%, 79%)
CMYKcmyk(56.4%, 64.9%, 0%, 20.8%)
CIE-LABlab(39.32, 42.92, -65.88)
CIE-LCHlch(39.32, 78.62, 303.08°)
OKLaboklab(49.5% 0.0422 -0.1894)
OKLCHoklch(49.5% 0.194 282.6)
XYZxyz(16.9351, 10.8444, 57.0665)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5847CA #B9CA47
analogous
#4777CA #5847CA #9947CA
triadic
#5847CA #CA5847 #47CA58
tetradic
#5847CA #CA4777 #B9CA47 #47CA99
square
#5847CA #CA4777 #B9CA47 #47CA99
split-complementary
#5847CA #CA9947 #77CA47
monochromatic
#2C2275 #3F2FA4 #5847CA #8377D8 #AEA6E5

Accessibility & contrast

On white

6.63
#5847CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5847CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5847CA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5847CA#FFFFFF#000000##FFFFFF
##5847CA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#1D6882
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5847ca;
/* rgb */ color: rgb(88, 71, 202);
/* oklch */ color: oklch(49.5% 0.194 282.6);
Tailwind
colors: {
  custom: {
    50: '#927bdb',
    500: '#5847ca',
    950: '#000000',
  },
}
SCSS
$custom: #5847ca;
$custom-light: #927bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5847ca",
  "rgb": {
    "r": 88,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 247.786,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49502,
    "c": 0.19405,
    "h": 282.6
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#5847CA
secondary
#CBD29A
accent
#DF49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5847CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5847CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva