#6D5AED#6D5AED

#6D5AED is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.212 H 283.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6D5AED
RGBrgb(109, 90, 237)
HSLhsl(248, 80%, 64%)
HSVhsv(248, 62%, 93%)
CMYKcmyk(54%, 62%, 0%, 7.1%)
CIE-LABlab(47.85, 46.18, -71.87)
CIE-LCHlch(47.85, 85.43, 302.72°)
OKLaboklab(56.98% 0.0485 -0.2063)
OKLCHoklch(56.98% 0.212 283.2)
XYZxyz(25.2442, 16.6765, 81.9930)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5AED #DAED5A
analogous
#5A91ED #6D5AED #B75AED
triadic
#6D5AED #ED6D5A #5AED6D
tetradic
#6D5AED #ED5A91 #DAED5A #5AEDB7
square
#6D5AED #ED5A91 #DAED5A #5AEDB7
split-complementary
#6D5AED #EDB75A #91ED5A
monochromatic
#2914B8 #3C23E7 #6D5AED #9E91F3 #CFC8F9

Accessibility & contrast

On white

4.84
#6D5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6D5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5AED
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5AED#FFFFFF#000000##FFFFFF
##6D5AED1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#337E9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d5aed;
/* rgb */ color: rgb(109, 90, 237);
/* oklch */ color: oklch(57.0% 0.212 283.2);
Tailwind
colors: {
  custom: {
    50: '#a18af4',
    500: '#6d5aed',
    950: '#000000',
  },
}
SCSS
$custom: #6d5aed;
$custom-light: #a18af4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5aed",
  "rgb": {
    "r": 109,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 247.755,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.21197,
    "h": 283.2
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#6D5AED
secondary
#E4EBB8
accent
#DD09C1
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6D5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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