#6B51F2#6B51F2

#6B51F2 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.9% C 0.229 H 283.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6B51F2
RGBrgb(107, 81, 242)
HSLhsl(250, 86%, 63%)
HSVhsv(250, 67%, 95%)
CMYKcmyk(55.8%, 66.5%, 0%, 5.1%)
CIE-LABlab(46.20, 52.36, -77.37)
CIE-LCHlch(46.20, 93.42, 304.09°)
OKLaboklab(55.87% 0.0534 -0.2226)
OKLCHoklch(55.87% 0.229 283.5)
XYZxyz(25.0279, 15.4199, 85.6447)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B51F2 #D8F251
analogous
#5188F2 #6B51F2 #BB51F2
triadic
#6B51F2 #F26B51 #51F26B
tetradic
#6B51F2 #F25188 #D8F251 #51F2BB
square
#6B51F2 #F25188 #D8F251 #51F2BB
split-complementary
#6B51F2 #F2BB51 #88F251
monochromatic
#2A0EBB #3B18EE #6B51F2 #9B8AF6 #CCC3FB

Accessibility & contrast

On white

5.14
#6B51F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6B51F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B51F2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B51F2#FFFFFF#000000##FFFFFF
##6B51F21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#267A9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b51f2;
/* rgb */ color: rgb(107, 81, 242);
/* oklch */ color: oklch(55.9% 0.229 283.5);
Tailwind
colors: {
  custom: {
    50: '#a284f8',
    500: '#6b51f2',
    950: '#000000',
  },
}
SCSS
$custom: #6b51f2;
$custom-light: #a284f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b51f2",
  "rgb": {
    "r": 107,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 249.689,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.22888,
    "h": 283.5
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#6B51F2
secondary
#E3ECB3
accent
#E303BE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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