#6A5EBD#6A5EBD

#6A5EBD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.144 H 286.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A5EBD
RGBrgb(106, 94, 189)
HSLhsl(248, 42%, 55%)
HSVhsv(248, 50%, 74%)
CMYKcmyk(43.9%, 50.3%, 0%, 25.9%)
CIE-LABlab(45.28, 28.88, -48.62)
CIE-LCHlch(45.28, 56.55, 300.71°)
OKLaboklab(53.99% 0.0404 -0.138)
OKLCHoklch(53.99% 0.144 286.3)
XYZxyz(19.1292, 14.7429, 49.9720)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EBD #B1BD5E
analogous
#5E81BD #6A5EBD #995EBD
triadic
#6A5EBD #BD6A5E #5EBD6A
tetradic
#6A5EBD #BD5E81 #B1BD5E #5EBD99
square
#6A5EBD #BD5E81 #B1BD5E #5EBD99
split-complementary
#6A5EBD #BD995E #81BD5E
monochromatic
#372F72 #4C409D #6A5EBD #9289CF #BAB5E1

Accessibility & contrast

On white

5.32
#6A5EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6A5EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EBD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EBD#FFFFFF#000000##FFFFFF
##6A5EBD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#3368BB
Tritanopia (blue-blind)
#517285
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a5ebd;
/* rgb */ color: rgb(106, 94, 189);
/* oklch */ color: oklch(54.0% 0.144 286.3);
Tailwind
colors: {
  custom: {
    50: '#998cd1',
    500: '#6a5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ebd;
$custom-light: #998cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ebd",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 247.579,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.14383,
    "h": 286.3
  },
  "luminance": 0.14744
}

Semantic roles & 50–950 ramp

primary
#6A5EBD
secondary
#CACFA8
accent
#D256C2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6A5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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