#5F4DE6#5F4DE6

#5F4DE6 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.221 H 281.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F4DE6
RGBrgb(95, 77, 230)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 67%, 90%)
CMYKcmyk(58.7%, 66.5%, 0%, 9.8%)
CIE-LABlab(43.44, 49.17, -75.17)
CIE-LCHlch(43.44, 89.82, 303.19°)
OKLaboklab(53.33% 0.0428 -0.2165)
OKLCHoklch(53.33% 0.221 281.2)
XYZxyz(21.6516, 13.4523, 76.3032)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DE6 #D4E64D
analogous
#4D87E6 #5F4DE6 #AC4DE6
triadic
#5F4DE6 #E65F4D #4DE65F
tetradic
#5F4DE6 #E64D87 #D4E64D #4DE6AC
square
#5F4DE6 #E64D87 #D4E64D #4DE6AC
split-complementary
#5F4DE6 #E6AC4D #87E64D
monochromatic
#2717A2 #341ED8 #5F4DE6 #8F83EE #BFB8F5

Accessibility & contrast

On white

5.69
#5F4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5F4DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4DE6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DE6#FFFFFF#000000##FFFFFF
##5F4DE61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4de6;
/* rgb */ color: rgb(95, 77, 230);
/* oklch */ color: oklch(53.3% 0.221 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a80ef',
    500: '#5f4de6',
    950: '#000000',
  },
}
SCSS
$custom: #5f4de6;
$custom-light: #9a80ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4de6",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 247.059,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.22065,
    "h": 281.2
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#5F4DE6
secondary
#DEE5AA
accent
#D80EC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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