#6A5CE8#6A5CE8

#6A5CE8 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.204 H 282.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6A5CE8
RGBrgb(106, 92, 232)
HSLhsl(246, 75%, 64%)
HSVhsv(246, 60%, 91%)
CMYKcmyk(54.3%, 60.3%, 0%, 9%)
CIE-LABlab(47.68, 43.00, -69.35)
CIE-LCHlch(47.68, 81.60, 301.80°)
OKLaboklab(56.68% 0.0432 -0.199)
OKLCHoklch(56.68% 0.204 282.3)
XYZxyz(24.3320, 16.5432, 78.2393)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CE8 #DAE85C
analogous
#5C94E8 #6A5CE8 #B05CE8
triadic
#6A5CE8 #E86A5C #5CE86A
tetradic
#6A5CE8 #E85C94 #DAE85C #5CE8B0
square
#6A5CE8 #E85C94 #DAE85C #5CE8B0
split-complementary
#6A5CE8 #E8B05C #94E85C
monochromatic
#2819B1 #3926E0 #6A5CE8 #9B92F0 #CCC7F7

Accessibility & contrast

On white

4.87
#6A5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6A5CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CE8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CE8#FFFFFF#000000##FFFFFF
##6A5CE81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#2F7E99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5ce8;
/* rgb */ color: rgb(106, 92, 232);
/* oklch */ color: oklch(56.7% 0.204 282.3);
Tailwind
colors: {
  custom: {
    50: '#9f8bf0',
    500: '#6a5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ce8;
$custom-light: #9f8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ce8",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 246,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.20364,
    "h": 282.3
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#6A5CE8
secondary
#E4E9B7
accent
#D70EC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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