#6D5AEC#6D5AEC

#6D5AEC is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.211 H 283.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6D5AEC
RGBrgb(109, 90, 236)
HSLhsl(248, 79%, 64%)
HSVhsv(248, 62%, 93%)
CMYKcmyk(53.8%, 61.9%, 0%, 7.5%)
CIE-LABlab(47.78, 45.89, -71.43)
CIE-LCHlch(47.78, 84.90, 302.72°)
OKLaboklab(56.9% 0.0486 -0.205)
OKLCHoklch(56.9% 0.211 283.3)
XYZxyz(25.0985, 16.6182, 81.2257)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5AEC #D9EC5A
analogous
#5A90EC #6D5AEC #B65AEC
triadic
#6D5AEC #EC6D5A #5AEC6D
tetradic
#6D5AEC #EC5A90 #D9EC5A #5AECB6
square
#6D5AEC #EC5A90 #D9EC5A #5AECB6
split-complementary
#6D5AEC #ECB65A #90EC5A
monochromatic
#2A15B7 #3C23E6 #6D5AEC #9E91F2 #CEC8F9

Accessibility & contrast

On white

4.86
#6D5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6D5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5AEC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5AEC#FFFFFF#000000##FFFFFF
##6D5AEC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d5aec;
/* rgb */ color: rgb(109, 90, 236);
/* oklch */ color: oklch(56.9% 0.211 283.3);
Tailwind
colors: {
  custom: {
    50: '#a18af3',
    500: '#6d5aec',
    950: '#000000',
  },
}
SCSS
$custom: #6d5aec;
$custom-light: #a18af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5aec",
  "rgb": {
    "r": 109,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 247.808,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.21074,
    "h": 283.3
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#6D5AEC
secondary
#E4EBB7
accent
#DC0AC0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6D5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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