#5F4CE7#5F4CE7

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

Color values

HEX#5F4CE7
RGBrgb(95, 76, 231)
HSLhsl(247, 76%, 60%)
HSVhsv(247, 67%, 91%)
CMYKcmyk(58.9%, 67.1%, 0%, 9.4%)
CIE-LABlab(43.32, 50.03, -75.94)
CIE-LCHlch(43.32, 90.94, 303.38°)
OKLaboklab(53.27% 0.0435 -0.2187)
OKLCHoklch(53.27% 0.223 281.2)
XYZxyz(21.7230, 13.3698, 77.0217)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CE7 #D4E74C
analogous
#4C86E7 #5F4CE7 #AD4CE7
triadic
#5F4CE7 #E75F4C #4CE75F
tetradic
#5F4CE7 #E74C86 #D4E74C #4CE7AD
square
#5F4CE7 #E74C86 #D4E74C #4CE7AD
split-complementary
#5F4CE7 #E7AD4C #86E74C
monochromatic
#2716A3 #341DD9 #5F4CE7 #8F82EE #BFB8F5

Accessibility & contrast

On white

5.72
#5F4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F4CE7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4CE7#FFFFFF#000000##FFFFFF
##5F4CE71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4ce7;
/* rgb */ color: rgb(95, 76, 231);
/* oklch */ color: oklch(53.3% 0.223 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a80f0',
    500: '#5f4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ce7;
$custom-light: #9a80f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ce7",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 247.355,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.22298,
    "h": 281.2
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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