#6A5AEB#6A5AEB

#6A5AEB is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.6% C 0.210 H 282.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6A5AEB
RGBrgb(106, 90, 235)
HSLhsl(247, 78%, 64%)
HSVhsv(247, 62%, 92%)
CMYKcmyk(54.9%, 61.7%, 0%, 7.8%)
CIE-LABlab(47.46, 45.07, -71.39)
CIE-LCHlch(47.46, 84.43, 302.26°)
OKLaboklab(56.59% 0.0449 -0.205)
OKLCHoklch(56.59% 0.21 282.4)
XYZxyz(24.5908, 16.3731, 80.4457)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AEB #DBEB5A
analogous
#5A92EB #6A5AEB #B25AEB
triadic
#6A5AEB #EB6A5A #5AEB6A
tetradic
#6A5AEB #EB5A92 #DBEB5A #5AEBB2
square
#6A5AEB #EB5A92 #DBEB5A #5AEBB2
split-complementary
#6A5AEB #EBB25A #92EB5A
monochromatic
#2716B5 #3923E4 #6A5AEB #9B91F2 #CDC7F8

Accessibility & contrast

On white

4.91
#6A5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6A5AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AEB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AEB#FFFFFF#000000##FFFFFF
##6A5AEB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#2B7D9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5aeb;
/* rgb */ color: rgb(106, 90, 235);
/* oklch */ color: oklch(56.6% 0.210 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f89f2',
    500: '#6a5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5aeb;
$custom-light: #9f89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5aeb",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 246.621,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.20989,
    "h": 282.4
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#6A5AEB
secondary
#E4EAB7
accent
#DB0BC4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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