#5F4EE7#5F4EE7

#5F4EE7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.221 H 280.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F4EE7
RGBrgb(95, 78, 231)
HSLhsl(247, 76%, 61%)
HSVhsv(247, 66%, 91%)
CMYKcmyk(58.9%, 66.2%, 0%, 9.4%)
CIE-LABlab(43.73, 48.92, -75.26)
CIE-LCHlch(43.73, 89.76, 303.02°)
OKLaboklab(53.56% 0.0419 -0.2167)
OKLCHoklch(53.56% 0.221 280.9)
XYZxyz(21.8630, 13.6497, 77.0684)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4EE7 #D6E74E
analogous
#4E89E7 #5F4EE7 #AC4EE7
triadic
#5F4EE7 #E75F4E #4EE75F
tetradic
#5F4EE7 #E74E89 #D6E74E #4EE7AC
square
#5F4EE7 #E74E89 #D6E74E #4EE7AC
split-complementary
#5F4EE7 #E7AC4E #89E74E
monochromatic
#2616A4 #331EDA #5F4EE7 #9084EE #C0BAF6

Accessibility & contrast

On white

5.63
#5F4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5F4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4EE7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4EE7#FFFFFF#000000##FFFFFF
##5F4EE71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4ee7;
/* rgb */ color: rgb(95, 78, 231);
/* oklch */ color: oklch(53.6% 0.221 280.9);
Tailwind
colors: {
  custom: {
    50: '#9a81f0',
    500: '#5f4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ee7;
$custom-light: #9a81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ee7",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 246.667,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.22074,
    "h": 280.9
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#5F4EE7
secondary
#DFE5AB
accent
#D80DC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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