#6C51F4#6C51F4

#6C51F4 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.1% C 0.231 H 283.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6C51F4
RGBrgb(108, 81, 244)
HSLhsl(250, 88%, 64%)
HSVhsv(250, 67%, 96%)
CMYKcmyk(55.7%, 66.8%, 0%, 4.3%)
CIE-LABlab(46.45, 53.10, -78.09)
CIE-LCHlch(46.45, 94.43, 304.21°)
OKLaboklab(56.12% 0.0545 -0.2246)
OKLCHoklch(56.12% 0.231 283.6)
XYZxyz(25.4509, 15.6031, 87.2410)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C51F4 #D9F451
analogous
#5187F4 #6C51F4 #BE51F4
triadic
#6C51F4 #F46C51 #51F46C
tetradic
#6C51F4 #F45187 #D9F451 #51F4BE
square
#6C51F4 #F45187 #D9F451 #51F4BE
split-complementary
#6C51F4 #F4BE51 #87F451
monochromatic
#2A0CBF #3B17F0 #6C51F4 #9D8BF8 #CDC4FB

Accessibility & contrast

On white

5.10
#6C51F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6C51F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C51F4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C51F4#FFFFFF#000000##FFFFFF
##6C51F41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#277B9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c51f4;
/* rgb */ color: rgb(108, 81, 244);
/* oklch */ color: oklch(56.1% 0.231 283.6);
Tailwind
colors: {
  custom: {
    50: '#a284f9',
    500: '#6c51f4',
    950: '#000000',
  },
}
SCSS
$custom: #6c51f4;
$custom-light: #a284f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c51f4",
  "rgb": {
    "r": 108,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 249.939,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.23114,
    "h": 283.6
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#6C51F4
secondary
#E4EDB4
accent
#E501BF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C51F4

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

Preview Lab → · Contrast checker → · Palette generator →

#6C51F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva