#6A5DEB#6A5DEB

#6A5DEB is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.206 H 281.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6A5DEB
RGBrgb(106, 93, 235)
HSLhsl(245, 78%, 64%)
HSVhsv(245, 60%, 92%)
CMYKcmyk(54.9%, 60.4%, 0%, 7.8%)
CIE-LABlab(48.12, 43.33, -70.32)
CIE-LCHlch(48.12, 82.60, 301.64°)
OKLaboklab(57.07% 0.0421 -0.2018)
OKLCHoklch(57.07% 0.206 281.8)
XYZxyz(24.8490, 16.8895, 80.5318)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DEB #DEEB5D
analogous
#5D97EB #6A5DEB #B15DEB
triadic
#6A5DEB #EB6A5D #5DEB6A
tetradic
#6A5DEB #EB5D97 #DEEB5D #5DEBB1
square
#6A5DEB #EB5D97 #DEEB5D #5DEBB1
split-complementary
#6A5DEB #EBB15D #97EB5D
monochromatic
#2517B7 #3827E4 #6A5DEB #9C93F2 #CECAF8

Accessibility & contrast

On white

4.80
#6A5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6A5DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DEB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DEB#FFFFFF#000000##FFFFFF
##6A5DEB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#2B7F9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5deb;
/* rgb */ color: rgb(106, 93, 235);
/* oklch */ color: oklch(57.1% 0.206 281.8);
Tailwind
colors: {
  custom: {
    50: '#9f8bf2',
    500: '#6a5deb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5deb;
$custom-light: #9f8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5deb",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 245.493,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.2062,
    "h": 281.8
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#6A5DEB
secondary
#E6EBB9
accent
#DA0BC7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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