#6A5AEE#6A5AEE

#6A5AEE is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.214 H 282.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6A5AEE
RGBrgb(106, 90, 238)
HSLhsl(246, 81%, 64%)
HSVhsv(246, 62%, 93%)
CMYKcmyk(55.5%, 62.2%, 0%, 6.7%)
CIE-LABlab(47.69, 45.97, -72.71)
CIE-LCHlch(47.69, 86.03, 302.30°)
OKLaboklab(56.82% 0.0447 -0.2089)
OKLCHoklch(56.82% 0.214 282.1)
XYZxyz(25.0279, 16.5480, 82.7476)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AEE #DEEE5A
analogous
#5A94EE #6A5AEE #B45AEE
triadic
#6A5AEE #EE6A5A #5AEE6A
tetradic
#6A5AEE #EE5A94 #DEEE5A #5AEEB4
square
#6A5AEE #EE5A94 #DEEE5A #5AEEB4
split-complementary
#6A5AEE #EEB45A #94EE5A
monochromatic
#2513BA #3823E8 #6A5AEE #9C91F4 #CEC9F9

Accessibility & contrast

On white

4.87
#6A5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6A5AEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AEE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AEE#FFFFFF#000000##FFFFFF
##6A5AEE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#277E9C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5aee;
/* rgb */ color: rgb(106, 90, 238);
/* oklch */ color: oklch(56.8% 0.214 282.1);
Tailwind
colors: {
  custom: {
    50: '#a089f5',
    500: '#6a5aee',
    950: '#000000',
  },
}
SCSS
$custom: #6a5aee;
$custom-light: #a089f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5aee",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 246.486,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.21363,
    "h": 282.1
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#6A5AEE
secondary
#E6ECB8
accent
#DE08C7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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