#6D5AE3#6D5AE3

#6D5AE3 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 56.2% C 0.199 H 284.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6D5AE3
RGBrgb(109, 90, 227)
HSLhsl(248, 71%, 62%)
HSVhsv(248, 60%, 89%)
CMYKcmyk(52%, 60.4%, 0%, 11%)
CIE-LABlab(47.12, 43.20, -67.42)
CIE-LCHlch(47.12, 80.08, 302.65°)
OKLaboklab(56.21% 0.0492 -0.1933)
OKLCHoklch(56.21% 0.199 284.3)
XYZxyz(23.8238, 16.1083, 74.5120)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5AE3 #D0E35A
analogous
#5A8CE3 #6D5AE3 #B15AE3
triadic
#6D5AE3 #E36D5A #5AE36D
tetradic
#6D5AE3 #E35A8C #D0E35A #5AE3B1
square
#6D5AE3 #E35A8C #D0E35A #5AE3B1
split-complementary
#6D5AE3 #E3B15A #8CE35A
monochromatic
#2F1CA6 #3F26DA #6D5AE3 #9B8EEC #CAC3F5

Accessibility & contrast

On white

4.97
#6D5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6D5AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5AE3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5AE3#FFFFFF#000000##FFFFFF
##6D5AE31.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#3D7B96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d5ae3;
/* rgb */ color: rgb(109, 90, 227);
/* oklch */ color: oklch(56.2% 0.199 284.3);
Tailwind
colors: {
  custom: {
    50: '#a089ed',
    500: '#6d5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #6d5ae3;
$custom-light: #a089ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5ae3",
  "rgb": {
    "r": 109,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 248.321,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56214,
    "c": 0.19943,
    "h": 284.3
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#6D5AE3
secondary
#DFE6B3
accent
#D312B8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6D5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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