#5F4EE2#5F4EE2

#5F4EE2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.215 H 281.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F4EE2
RGBrgb(95, 78, 226)
HSLhsl(247, 72%, 60%)
HSVhsv(247, 65%, 89%)
CMYKcmyk(58%, 65.5%, 0%, 11.4%)
CIE-LABlab(43.32, 47.39, -73.10)
CIE-LCHlch(43.32, 87.11, 302.96°)
OKLaboklab(53.14% 0.0425 -0.2104)
OKLCHoklch(53.14% 0.215 281.4)
XYZxyz(21.1669, 13.3712, 73.4023)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4EE2 #D1E24E
analogous
#4E87E2 #5F4EE2 #A94EE2
triadic
#5F4EE2 #E25F4E #4EE25F
tetradic
#5F4EE2 #E24E87 #D1E24E #4EE2A9
square
#5F4EE2 #E24E87 #D1E24E #4EE2A9
split-complementary
#5F4EE2 #E2A94E #87E24E
monochromatic
#291A9C #3622D1 #5F4EE2 #8F83EB #BEB7F3

Accessibility & contrast

On white

5.71
#5F4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5F4EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4EE2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4EE2#FFFFFF#000000##FFFFFF
##5F4EE21.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#067491
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4ee2;
/* rgb */ color: rgb(95, 78, 226);
/* oklch */ color: oklch(53.1% 0.215 281.4);
Tailwind
colors: {
  custom: {
    50: '#9981ec',
    500: '#5f4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ee2;
$custom-light: #9981ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ee2",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 246.892,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.21462,
    "h": 281.4
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#5F4EE2
secondary
#DCE3A9
accent
#EF39DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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