#5F4FF6#5F4FF6

#5F4FF6 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.0% C 0.238 H 279.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5F4FF6
RGBrgb(95, 79, 246)
HSLhsl(246, 90%, 64%)
HSVhsv(246, 68%, 96%)
CMYKcmyk(61.4%, 67.9%, 0%, 3.5%)
CIE-LABlab(45.19, 52.92, -81.31)
CIE-LCHlch(45.19, 97.02, 303.06°)
OKLaboklab(55% 0.0391 -0.2345)
OKLCHoklch(55% 0.238 279.5)
XYZxyz(24.1445, 14.6768, 88.7315)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FF6 #E6F64F
analogous
#4F92F6 #5F4FF6 #B34FF6
triadic
#5F4FF6 #F65F4F #4FF65F
tetradic
#5F4FF6 #F64F92 #E6F64F #4FF6B3
square
#5F4FF6 #F64F92 #E6F64F #4FF6B3
split-complementary
#5F4FF6 #F6B34F #92F64F
monochromatic
#1B0AC1 #2A15F3 #5F4FF6 #9489F9 #C9C3FC

Accessibility & contrast

On white

5.34
#5F4FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5F4FF6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FF6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FF6#FFFFFF#000000##FFFFFF
##5F4FF61.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FB
Deuteranopia (green-blind)
#0064F3
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f4ff6;
/* rgb */ color: rgb(95, 79, 246);
/* oklch */ color: oklch(55.0% 0.238 279.5);
Tailwind
colors: {
  custom: {
    50: '#9c82fa',
    500: '#5f4ff6',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ff6;
$custom-light: #9c82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ff6",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 246
  },
  "hsl": {
    "h": 245.749,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.2377,
    "h": 279.5
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#5F4FF6
secondary
#E8EEB3
accent
#E600D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5F4FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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