#5F4CCF#5F4CCF

#5F4CCF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.3% C 0.193 H 283.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5F4CCF
RGBrgb(95, 76, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 63%, 81%)
CMYKcmyk(54.1%, 63.3%, 0%, 18.8%)
CIE-LABlab(41.38, 42.75, -65.37)
CIE-LCHlch(41.38, 78.11, 303.18°)
OKLaboklab(51.27% 0.0463 -0.1877)
OKLCHoklch(51.27% 0.193 283.8)
XYZxyz(18.5628, 12.1057, 60.3779)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CCF #BCCF4C
analogous
#4C7BCF #5F4CCF #A04CCF
triadic
#5F4CCF #CF5F4C #4CCF5F
tetradic
#5F4CCF #CF4C7B #BCCF4C #4CCFA0
square
#5F4CCF #CF4C7B #BCCF4C #4CCFA0
split-complementary
#5F4CCF #CFA04C #7BCF4C
monochromatic
#2F227F #412FAF #5F4CCF #8A7CDC #B5ADE9

Accessibility & contrast

On white

6.14
#5F4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5F4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4CCF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4CCF#FFFFFF#000000##FFFFFF
##5F4CCF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#2D6C86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f4ccf;
/* rgb */ color: rgb(95, 76, 207);
/* oklch */ color: oklch(51.3% 0.193 283.8);
Tailwind
colors: {
  custom: {
    50: '#967fdf',
    500: '#5f4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ccf;
$custom-light: #967fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ccf",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 248.702,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.19333,
    "h": 283.8
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#5F4CCF
secondary
#CFD7A0
accent
#E147CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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