#6A5BEE#6A5BEE

#6A5BEE is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.212 H 281.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6A5BEE
RGBrgb(106, 91, 238)
HSLhsl(246, 81%, 65%)
HSVhsv(246, 62%, 93%)
CMYKcmyk(55.5%, 61.8%, 0%, 6.7%)
CIE-LABlab(47.90, 45.40, -72.36)
CIE-LCHlch(47.90, 85.42, 302.10°)
OKLaboklab(56.98% 0.0438 -0.2079)
OKLCHoklch(56.98% 0.212 281.9)
XYZxyz(25.1128, 16.7178, 82.7759)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BEE #DFEE5B
analogous
#5B96EE #6A5BEE #B35BEE
triadic
#6A5BEE #EE6A5B #5BEE6A
tetradic
#6A5BEE #EE5B96 #DFEE5B #5BEEB3
square
#6A5BEE #EE5B96 #DFEE5B #5BEEB3
split-complementary
#6A5BEE #EEB35B #96EE5B
monochromatic
#2513BB #3824E8 #6A5BEE #9C92F4 #CFCAF9

Accessibility & contrast

On white

4.83
#6A5BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6A5BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BEE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BEE#FFFFFF#000000##FFFFFF
##6A5BEE1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#277F9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5bee;
/* rgb */ color: rgb(106, 91, 238);
/* oklch */ color: oklch(57.0% 0.212 281.9);
Tailwind
colors: {
  custom: {
    50: '#a08af5',
    500: '#6a5bee',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bee;
$custom-light: #a08af5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bee",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 246.122,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.21242,
    "h": 281.9
  },
  "luminance": 0.16719
}

Semantic roles & 50–950 ramp

primary
#6A5BEE
secondary
#E7ECB9
accent
#DE08C8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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