#6A5DE7#6A5DE7

#6A5DE7 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.201 H 282.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6A5DE7
RGBrgb(106, 93, 231)
HSLhsl(246, 74%, 64%)
HSVhsv(246, 60%, 91%)
CMYKcmyk(54.1%, 59.7%, 0%, 9.4%)
CIE-LABlab(47.83, 42.11, -68.54)
CIE-LCHlch(47.83, 80.44, 301.57°)
OKLaboklab(56.77% 0.0423 -0.1966)
OKLCHoklch(56.77% 0.201 282.1)
XYZxyz(24.2776, 16.6609, 77.5224)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DE7 #DAE75D
analogous
#5D95E7 #6A5DE7 #AF5DE7
triadic
#6A5DE7 #E76A5D #5DE76A
tetradic
#6A5DE7 #E75D95 #DAE75D #5DE7AF
square
#6A5DE7 #E75D95 #DAE75D #5DE7AF
split-complementary
#6A5DE7 #E7AF5D #95E75D
monochromatic
#281AB0 #3928DF #6A5DE7 #9B92EF #CCC8F7

Accessibility & contrast

On white

4.85
#6A5DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6A5DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DE7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DE7#FFFFFF#000000##FFFFFF
##6A5DE71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#307E99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5de7;
/* rgb */ color: rgb(106, 93, 231);
/* oklch */ color: oklch(56.8% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#9f8bf0',
    500: '#6a5de7',
    950: '#000000',
  },
}
SCSS
$custom: #6a5de7;
$custom-light: #9f8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5de7",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 245.652,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.20112,
    "h": 282.1
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#6A5DE7
secondary
#E4E8B7
accent
#D60FC4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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