#6154D6#6154D6

#6154D6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.3% C 0.192 H 282.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6154D6
RGBrgb(97, 84, 214)
HSLhsl(246, 61%, 58%)
HSVhsv(246, 61%, 84%)
CMYKcmyk(54.7%, 60.7%, 0%, 16.1%)
CIE-LABlab(43.85, 40.57, -65.37)
CIE-LCHlch(43.85, 76.94, 301.82°)
OKLaboklab(53.28% 0.0406 -0.1876)
OKLCHoklch(53.28% 0.192 282.2)
XYZxyz(20.2339, 13.7358, 65.1904)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154D6 #C9D654
analogous
#5488D6 #6154D6 #A254D6
triadic
#6154D6 #D66154 #54D661
tetradic
#6154D6 #D65488 #C9D654 #54D6A2
square
#6154D6 #D65488 #C9D654 #54D6A2
split-complementary
#6154D6 #D6A254 #88D654
monochromatic
#2D228E #3C2EBF #6154D6 #8F85E2 #BCB7EE

Accessibility & contrast

On white

5.60
#6154D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6154D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154D6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154D6#FFFFFF#000000##FFFFFF
##6154D61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#2A738D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6154d6;
/* rgb */ color: rgb(97, 84, 214);
/* oklch */ color: oklch(53.3% 0.192 282.2);
Tailwind
colors: {
  custom: {
    50: '#9885e4',
    500: '#6154d6',
    950: '#000000',
  },
}
SCSS
$custom: #6154d6;
$custom-light: #9885e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6154d6",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 246,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.19197,
    "h": 282.2
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#6154D6
secondary
#D8DDA9
accent
#E443D4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #6154D6

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

Preview Lab → · Contrast checker → · Palette generator →

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