#6D5AE7#6D5AE7

#6D5AE7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.204 H 283.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6D5AE7
RGBrgb(109, 90, 231)
HSLhsl(248, 75%, 63%)
HSVhsv(248, 61%, 91%)
CMYKcmyk(52.8%, 61%, 0%, 9.4%)
CIE-LABlab(47.41, 44.39, -69.21)
CIE-LCHlch(47.41, 82.23, 302.68°)
OKLaboklab(56.52% 0.049 -0.1985)
OKLCHoklch(56.52% 0.204 283.9)
XYZxyz(24.3823, 16.3317, 77.4534)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5AE7 #D4E75A
analogous
#5A8DE7 #6D5AE7 #B35AE7
triadic
#6D5AE7 #E76D5A #5AE76D
tetradic
#6D5AE7 #E75A8D #D4E75A #5AE7B3
square
#6D5AE7 #E75A8D #D4E75A #5AE7B3
split-complementary
#6D5AE7 #E7B35A #8DE75A
monochromatic
#2D19AD #3E25DF #6D5AE7 #9C8FEF #CCC5F7

Accessibility & contrast

On white

4.92
#6D5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6D5AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5AE7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5AE7#FFFFFF#000000##FFFFFF
##6D5AE71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#397C98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d5ae7;
/* rgb */ color: rgb(109, 90, 231);
/* oklch */ color: oklch(56.5% 0.204 283.9);
Tailwind
colors: {
  custom: {
    50: '#a189f0',
    500: '#6d5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #6d5ae7;
$custom-light: #a189f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5ae7",
  "rgb": {
    "r": 109,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 248.085,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.20448,
    "h": 283.9
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#6D5AE7
secondary
#E1E8B5
accent
#D70FBC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6D5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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