#5F4CE6#5F4CE6

#5F4CE6 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.2% C 0.222 H 281.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5F4CE6
RGBrgb(95, 76, 230)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 67%, 90%)
CMYKcmyk(58.7%, 67%, 0%, 9.8%)
CIE-LABlab(43.23, 49.73, -75.50)
CIE-LCHlch(43.23, 90.41, 303.37°)
OKLaboklab(53.18% 0.0436 -0.2174)
OKLCHoklch(53.18% 0.222 281.3)
XYZxyz(21.5822, 13.3135, 76.2800)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CE6 #D3E64C
analogous
#4C86E6 #5F4CE6 #AC4CE6
triadic
#5F4CE6 #E65F4C #4CE65F
tetradic
#5F4CE6 #E64C86 #D3E64C #4CE6AC
square
#5F4CE6 #E64C86 #D3E64C #4CE6AC
split-complementary
#5F4CE6 #E6AC4C #86E64C
monochromatic
#2817A1 #351ED7 #5F4CE6 #8F82ED #BFB7F5

Accessibility & contrast

On white

5.73
#5F4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5F4CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4CE6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4CE6#FFFFFF#000000##FFFFFF
##5F4CE61.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4ce6;
/* rgb */ color: rgb(95, 76, 230);
/* oklch */ color: oklch(53.2% 0.222 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a80ef',
    500: '#5f4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ce6;
$custom-light: #9a80ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ce6",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 247.403,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.22177,
    "h": 281.3
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#5F4CE6
secondary
#DDE5A9
accent
#F236DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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