#6A5AEC#6A5AEC

#6A5AEC is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.7% C 0.211 H 282.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6A5AEC
RGBrgb(106, 90, 236)
HSLhsl(247, 79%, 64%)
HSVhsv(247, 62%, 93%)
CMYKcmyk(55.1%, 61.9%, 0%, 7.5%)
CIE-LABlab(47.54, 45.37, -71.83)
CIE-LCHlch(47.54, 84.96, 302.28°)
OKLaboklab(56.67% 0.0449 -0.2063)
OKLCHoklch(56.67% 0.211 282.3)
XYZxyz(24.7357, 16.4311, 81.2087)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AEC #DCEC5A
analogous
#5A93EC #6A5AEC #B35AEC
triadic
#6A5AEC #EC6A5A #5AEC6A
tetradic
#6A5AEC #EC5A93 #DCEC5A #5AECB3
square
#6A5AEC #EC5A93 #DCEC5A #5AECB3
split-complementary
#6A5AEC #ECB35A #93EC5A
monochromatic
#2715B7 #3823E6 #6A5AEC #9C91F2 #CDC8F9

Accessibility & contrast

On white

4.90
#6A5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6A5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AEC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AEC#FFFFFF#000000##FFFFFF
##6A5AEC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#2A7E9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5aec;
/* rgb */ color: rgb(106, 90, 236);
/* oklch */ color: oklch(56.7% 0.211 282.3);
Tailwind
colors: {
  custom: {
    50: '#a089f3',
    500: '#6a5aec',
    950: '#000000',
  },
}
SCSS
$custom: #6a5aec;
$custom-light: #a089f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5aec",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 246.575,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.21113,
    "h": 282.3
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#6A5AEC
secondary
#E5EBB7
accent
#DC0AC5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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