#6151D6#6151D6

#6151D6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.8% C 0.196 H 282.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6151D6
RGBrgb(97, 81, 214)
HSLhsl(247, 62%, 58%)
HSVhsv(247, 62%, 84%)
CMYKcmyk(54.7%, 62.1%, 0%, 16.1%)
CIE-LABlab(43.18, 42.33, -66.46)
CIE-LCHlch(43.18, 78.80, 302.49°)
OKLaboklab(52.79% 0.0435 -0.1908)
OKLCHoklch(52.79% 0.196 282.8)
XYZxyz(20.0061, 13.2801, 65.1144)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151D6 #C6D651
analogous
#5183D6 #6151D6 #A351D6
triadic
#6151D6 #D66151 #51D661
tetradic
#6151D6 #D65183 #C6D651 #51D6A3
square
#6151D6 #D65183 #C6D651 #51D6A3
split-complementary
#6151D6 #D6A351 #83D651
monochromatic
#2E218C #3E2DBD #6151D6 #8E83E2 #BBB4ED

Accessibility & contrast

On white

5.74
#6151D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6151D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151D6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151D6#FFFFFF#000000##FFFFFF
##6151D61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#2A718C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6151d6;
/* rgb */ color: rgb(97, 81, 214);
/* oklch */ color: oklch(52.8% 0.196 282.8);
Tailwind
colors: {
  custom: {
    50: '#9883e4',
    500: '#6151d6',
    950: '#000000',
  },
}
SCSS
$custom: #6151d6;
$custom-light: #9883e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6151d6",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 247.218,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.19573,
    "h": 282.8
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#6151D6
secondary
#D6DCA7
accent
#E543D1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #6151D6

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

Preview Lab → · Contrast checker → · Palette generator →

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