#5F4ADC#5F4ADC

#5F4ADC is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.212 H 282.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5F4ADC
RGBrgb(95, 74, 220)
HSLhsl(249, 68%, 58%)
HSVhsv(249, 66%, 86%)
CMYKcmyk(56.8%, 66.4%, 0%, 13.7%)
CIE-LABlab(41.99, 47.83, -71.84)
CIE-LCHlch(41.99, 86.30, 303.65°)
OKLaboklab(52.04% 0.0466 -0.2067)
OKLCHoklch(52.04% 0.212 282.7)
XYZxyz(20.0824, 12.4965, 69.0501)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4ADC #C7DC4A
analogous
#4A7EDC #5F4ADC #A84ADC
triadic
#5F4ADC #DC5F4A #4ADC5F
tetradic
#5F4ADC #DC4A7E #C7DC4A #4ADCA8
square
#5F4ADC #DC4A7E #C7DC4A #4ADCA8
split-complementary
#5F4ADC #DCA84A #7EDC4A
monochromatic
#2C1C90 #3C26C3 #5F4ADC #8C7DE6 #BAB1F0

Accessibility & contrast

On white

6.00
#5F4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5F4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4ADC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4ADC#FFFFFF#000000##FFFFFF
##5F4ADC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#1A6F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f4adc;
/* rgb */ color: rgb(95, 74, 220);
/* oklch */ color: oklch(52.0% 0.212 282.7);
Tailwind
colors: {
  custom: {
    50: '#987ee8',
    500: '#5f4adc',
    950: '#000000',
  },
}
SCSS
$custom: #5f4adc;
$custom-light: #987ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4adc",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 248.63,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.21188,
    "h": 282.7
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#5F4ADC
secondary
#D6DEA4
accent
#EA3DD2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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