#6A5AED#6A5AED

#6A5AED is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.212 H 282.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6A5AED
RGBrgb(106, 90, 237)
HSLhsl(247, 80%, 64%)
HSVhsv(247, 62%, 93%)
CMYKcmyk(55.3%, 62%, 0%, 7.1%)
CIE-LABlab(47.61, 45.67, -72.27)
CIE-LCHlch(47.61, 85.49, 302.29°)
OKLaboklab(56.75% 0.0448 -0.2076)
OKLCHoklch(56.75% 0.212 282.2)
XYZxyz(24.8814, 16.4894, 81.9760)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AED #DDED5A
analogous
#5A94ED #6A5AED #B45AED
triadic
#6A5AED #ED6A5A #5AED6A
tetradic
#6A5AED #ED5A94 #DDED5A #5AEDB4
square
#6A5AED #ED5A94 #DDED5A #5AEDB4
split-complementary
#6A5AED #EDB45A #94ED5A
monochromatic
#2614B8 #3823E7 #6A5AED #9C91F3 #CEC8F9

Accessibility & contrast

On white

4.89
#6A5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6A5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AED
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AED#FFFFFF#000000##FFFFFF
##6A5AED1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#297E9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5aed;
/* rgb */ color: rgb(106, 90, 237);
/* oklch */ color: oklch(56.7% 0.212 282.2);
Tailwind
colors: {
  custom: {
    50: '#a089f4',
    500: '#6a5aed',
    950: '#000000',
  },
}
SCSS
$custom: #6a5aed;
$custom-light: #a089f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5aed",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 246.531,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.21238,
    "h": 282.2
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#6A5AED
secondary
#E5EBB8
accent
#DD09C6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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