#6A5CBC#6A5CBC

#6A5CBC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.145 H 287.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6A5CBC
RGBrgb(106, 92, 188)
HSLhsl(249, 42%, 55%)
HSVhsv(249, 51%, 74%)
CMYKcmyk(43.6%, 51.1%, 0%, 26.3%)
CIE-LABlab(44.73, 29.80, -48.92)
CIE-LCHlch(44.73, 57.28, 301.35°)
OKLaboklab(53.56% 0.0428 -0.1389)
OKLCHoklch(53.56% 0.145 287.1)
XYZxyz(18.8455, 14.3486, 49.3438)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CBC #AEBC5C
analogous
#5C7EBC #6A5CBC #9A5CBC
triadic
#6A5CBC #BC6A5C #5CBC6A
tetradic
#6A5CBC #BC5C7E #AEBC5C #5CBC9A
square
#6A5CBC #BC5C7E #AEBC5C #5CBC9A
split-complementary
#6A5CBC #BC9A5C #7EBC5C
monochromatic
#382E70 #4D409B #6A5CBC #9287CE #B9B3E0

Accessibility & contrast

On white

5.43
#6A5CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6A5CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CBC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CBC#FFFFFF#000000##FFFFFF
##6A5CBC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#517083
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a5cbc;
/* rgb */ color: rgb(106, 92, 188);
/* oklch */ color: oklch(53.6% 0.145 287.1);
Tailwind
colors: {
  custom: {
    50: '#998ad1',
    500: '#6a5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cbc;
$custom-light: #998ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cbc",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 248.75,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.14537,
    "h": 287.1
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#6A5CBC
secondary
#C8CEA6
accent
#D256C0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6A5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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