#5F4EEF#5F4EEF

#5F4EEF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.3% C 0.230 H 280.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F4EEF
RGBrgb(95, 78, 239)
HSLhsl(246, 83%, 62%)
HSVhsv(246, 67%, 94%)
CMYKcmyk(60.3%, 67.4%, 0%, 6.3%)
CIE-LABlab(44.39, 51.35, -78.69)
CIE-LCHlch(44.39, 93.96, 303.13°)
OKLaboklab(54.25% 0.0408 -0.2268)
OKLCHoklch(54.25% 0.23 280.2)
XYZxyz(23.0188, 14.1120, 83.1555)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4EEF #DEEF4E
analogous
#4E8EEF #5F4EEF #AF4EEF
triadic
#5F4EEF #EF5F4E #4EEF5F
tetradic
#5F4EEF #EF4E8E #DEEF4E #4EEFAF
square
#5F4EEF #EF4E8E #DEEF4E #4EEFAF
split-complementary
#5F4EEF #EFAF4E #8EEF4E
monochromatic
#2110B2 #2C16EA #5F4EEF #9286F4 #C4BEF9

Accessibility & contrast

On white

5.49
#5F4EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5F4EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4EEF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4EEF#FFFFFF#000000##FFFFFF
##5F4EEF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#0063EC
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f4eef;
/* rgb */ color: rgb(95, 78, 239);
/* oklch */ color: oklch(54.3% 0.230 280.2);
Tailwind
colors: {
  custom: {
    50: '#9b81f5',
    500: '#5f4eef',
    950: '#000000',
  },
}
SCSS
$custom: #5f4eef;
$custom-light: #9b81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4eef",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 246.335,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.23041,
    "h": 280.2
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#5F4EEF
secondary
#E4EAAF
accent
#E006C9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F4EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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