#5F4EDC#5F4EDC

#5F4EDC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.207 H 282.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F4EDC
RGBrgb(95, 78, 220)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 65%, 86%)
CMYKcmyk(56.8%, 64.5%, 0%, 13.7%)
CIE-LABlab(42.84, 45.56, -70.47)
CIE-LCHlch(42.84, 83.91, 302.88°)
OKLaboklab(52.64% 0.0432 -0.2027)
OKLCHoklch(52.64% 0.207 282)
XYZxyz(20.3580, 13.0477, 69.1420)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4EDC #CBDC4E
analogous
#4E84DC #5F4EDC #A64EDC
triadic
#5F4EDC #DC5F4E #4EDC5F
tetradic
#5F4EDC #DC4E84 #CBDC4E #4EDCA6
square
#5F4EDC #DC4E84 #CBDC4E #4EDCA6
split-complementary
#5F4EDC #DCA64E #84DC4E
monochromatic
#2B1D93 #3A27C6 #5F4EDC #8D81E6 #BBB4F0

Accessibility & contrast

On white

5.82
#5F4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5F4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4EDC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4EDC#FFFFFF#000000##FFFFFF
##5F4EDC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#19728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f4edc;
/* rgb */ color: rgb(95, 78, 220);
/* oklch */ color: oklch(52.6% 0.207 282.0);
Tailwind
colors: {
  custom: {
    50: '#9881e8',
    500: '#5f4edc',
    950: '#000000',
  },
}
SCSS
$custom: #5f4edc;
$custom-light: #9881e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4edc",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 247.183,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.2072,
    "h": 282
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#5F4EDC
secondary
#D8DFA7
accent
#EA3ED5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

#5F4EDC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva