#6B51F0#6B51F0

#6B51F0 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.7% C 0.227 H 283.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6B51F0
RGBrgb(107, 81, 240)
HSLhsl(250, 84%, 63%)
HSVhsv(250, 66%, 94%)
CMYKcmyk(55.4%, 66.3%, 0%, 5.9%)
CIE-LABlab(46.04, 51.77, -76.51)
CIE-LCHlch(46.04, 92.38, 304.08°)
OKLaboklab(55.7% 0.0537 -0.22)
OKLCHoklch(55.7% 0.227 283.7)
XYZxyz(24.7292, 15.3004, 84.0714)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B51F0 #D6F051
analogous
#5187F0 #6B51F0 #BA51F0
triadic
#6B51F0 #F06B51 #51F06B
tetradic
#6B51F0 #F05187 #D6F051 #51F0BA
square
#6B51F0 #F05187 #D6F051 #51F0BA
split-complementary
#6B51F0 #F0BA51 #87F051
monochromatic
#2B10B7 #3B19EB #6B51F0 #9B89F5 #CBC2FA

Accessibility & contrast

On white

5.17
#6B51F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6B51F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B51F0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B51F0#FFFFFF#000000##FFFFFF
##6B51F01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#297A9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b51f0;
/* rgb */ color: rgb(107, 81, 240);
/* oklch */ color: oklch(55.7% 0.227 283.7);
Tailwind
colors: {
  custom: {
    50: '#a184f6',
    500: '#6b51f0',
    950: '#000000',
  },
}
SCSS
$custom: #6b51f0;
$custom-light: #a184f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b51f0",
  "rgb": {
    "r": 107,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 249.811,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.2265,
    "h": 283.7
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#6B51F0
secondary
#E2EBB2
accent
#E105BD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B51F0

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

Preview Lab → · Contrast checker → · Palette generator →

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