#5F4ADD#5F4ADD

#5F4ADD is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.213 H 282.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5F4ADD
RGBrgb(95, 74, 221)
HSLhsl(249, 68%, 58%)
HSVhsv(249, 67%, 87%)
CMYKcmyk(57%, 66.5%, 0%, 13.3%)
CIE-LABlab(42.08, 48.13, -72.28)
CIE-LCHlch(42.08, 86.83, 303.66°)
OKLaboklab(52.12% 0.0465 -0.208)
OKLCHoklch(52.12% 0.213 282.6)
XYZxyz(20.2152, 12.5496, 69.7497)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4ADD #C8DD4A
analogous
#4A7FDD #5F4ADD #A84ADD
triadic
#5F4ADD #DD5F4A #4ADD5F
tetradic
#5F4ADD #DD4A7F #C8DD4A #4ADDA8
square
#5F4ADD #DD4A7F #C8DD4A #4ADDA8
split-complementary
#5F4ADD #DDA84A #7FDD4A
monochromatic
#2C1B91 #3C25C5 #5F4ADD #8D7EE7 #BAB1F0

Accessibility & contrast

On white

5.98
#5F4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5F4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4ADD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4ADD#FFFFFF#000000##FFFFFF
##5F4ADD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#18708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f4add;
/* rgb */ color: rgb(95, 74, 221);
/* oklch */ color: oklch(52.1% 0.213 282.6);
Tailwind
colors: {
  custom: {
    50: '#987ee9',
    500: '#5f4add',
    950: '#000000',
  },
}
SCSS
$custom: #5f4add;
$custom-light: #987ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4add",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 248.571,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.2131,
    "h": 282.6
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#5F4ADD
secondary
#D6DFA4
accent
#EB3DD2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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