#6A5DE2#6A5DE2

#6A5DE2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.195 H 282.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6A5DE2
RGBrgb(106, 93, 226)
HSLhsl(246, 70%, 63%)
HSVhsv(246, 59%, 89%)
CMYKcmyk(53.1%, 58.8%, 0%, 11.4%)
CIE-LABlab(47.47, 40.59, -66.29)
CIE-LCHlch(47.47, 77.73, 301.48°)
OKLaboklab(56.39% 0.0425 -0.19)
OKLCHoklch(56.39% 0.195 282.6)
XYZxyz(23.5815, 16.3825, 73.8563)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DE2 #D5E25D
analogous
#5D92E2 #6A5DE2 #AD5DE2
triadic
#6A5DE2 #E26A5D #5DE26A
tetradic
#6A5DE2 #E25D92 #D5E25D #5DE2AD
square
#6A5DE2 #E25D92 #D5E25D #5DE2AD
split-complementary
#6A5DE2 #E2AD5D #92E25D
monochromatic
#2B1EA7 #3A29D9 #6A5DE2 #9A91EB #C9C5F5

Accessibility & contrast

On white

4.91
#6A5DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6A5DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DE2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DE2#FFFFFF#000000##FFFFFF
##6A5DE21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#367C97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5de2;
/* rgb */ color: rgb(106, 93, 226);
/* oklch */ color: oklch(56.4% 0.195 282.6);
Tailwind
colors: {
  custom: {
    50: '#9e8bec',
    500: '#6a5de2',
    950: '#000000',
  },
}
SCSS
$custom: #6a5de2;
$custom-light: #9e8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5de2",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 245.865,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.1947,
    "h": 282.6
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#6A5DE2
secondary
#E1E6B5
accent
#D214BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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