#6151D7#6151D7

#6151D7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.9% C 0.197 H 282.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6151D7
RGBrgb(97, 81, 215)
HSLhsl(247, 63%, 58%)
HSVhsv(247, 62%, 84%)
CMYKcmyk(54.9%, 62.3%, 0%, 15.7%)
CIE-LABlab(43.26, 42.64, -66.91)
CIE-LCHlch(43.26, 79.34, 302.50°)
OKLaboklab(52.87% 0.0434 -0.1921)
OKLCHoklch(52.87% 0.197 282.7)
XYZxyz(20.1342, 13.3313, 65.7891)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151D7 #C7D751
analogous
#5184D7 #6151D7 #A451D7
triadic
#6151D7 #D76151 #51D761
tetradic
#6151D7 #D75184 #C7D751 #51D7A4
square
#6151D7 #D75184 #C7D751 #51D7A4
split-complementary
#6151D7 #D7A451 #84D751
monochromatic
#2D208D #3D2CBF #6151D7 #8E83E2 #BBB5EE

Accessibility & contrast

On white

5.73
#6151D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6151D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151D7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151D7#FFFFFF#000000##FFFFFF
##6151D71.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#29728C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6151d7;
/* rgb */ color: rgb(97, 81, 215);
/* oklch */ color: oklch(52.9% 0.197 282.7);
Tailwind
colors: {
  custom: {
    50: '#9883e4',
    500: '#6151d7',
    950: '#000000',
  },
}
SCSS
$custom: #6151d7;
$custom-light: #9883e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6151d7",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 247.164,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.197,
    "h": 282.7
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#6151D7
secondary
#D6DDA7
accent
#E642D2
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #6151D7

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

Preview Lab → · Contrast checker → · Palette generator →

#6151D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva