#6D5AEB#6D5AEB

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

Color values

HEX#6D5AEB
RGBrgb(109, 90, 235)
HSLhsl(248, 78%, 64%)
HSVhsv(248, 62%, 92%)
CMYKcmyk(53.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(47.70, 45.59, -70.99)
CIE-LCHlch(47.70, 84.37, 302.71°)
OKLaboklab(56.83% 0.0487 -0.2037)
OKLCHoklch(56.83% 0.209 283.4)
XYZxyz(24.9537, 16.5602, 80.4627)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5AEB #D8EB5A
analogous
#5A8FEB #6D5AEB #B55AEB
triadic
#6D5AEB #EB6D5A #5AEB6D
tetradic
#6D5AEB #EB5A8F #D8EB5A #5AEBB5
square
#6D5AEB #EB5A8F #D8EB5A #5AEBB5
split-complementary
#6D5AEB #EBB55A #8FEB5A
monochromatic
#2B16B5 #3D23E4 #6D5AEB #9D91F2 #CEC7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D5AEB#FFFFFF#000000##FFFFFF
##6D5AEB1.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)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#357D9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d5aeb;
/* rgb */ color: rgb(109, 90, 235);
/* oklch */ color: oklch(56.8% 0.209 283.4);
Tailwind
colors: {
  custom: {
    50: '#a18af2',
    500: '#6d5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #6d5aeb;
$custom-light: #a18af2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5aeb",
  "rgb": {
    "r": 109,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 247.862,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.20949,
    "h": 283.4
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#6D5AEB
secondary
#E3EAB7
accent
#DB0BBF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6D5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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