#6A5CEE#6A5CEE

#6A5CEE is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.211 H 281.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6A5CEE
RGBrgb(106, 92, 238)
HSLhsl(246, 81%, 65%)
HSVhsv(246, 61%, 93%)
CMYKcmyk(55.5%, 61.3%, 0%, 6.7%)
CIE-LABlab(48.12, 44.82, -72.00)
CIE-LCHlch(48.12, 84.81, 301.90°)
OKLaboklab(57.14% 0.0429 -0.2068)
OKLCHoklch(57.14% 0.211 281.7)
XYZxyz(25.1988, 16.8899, 82.8046)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CEE #E0EE5C
analogous
#5C97EE #6A5CEE #B35CEE
triadic
#6A5CEE #EE6A5C #5CEE6A
tetradic
#6A5CEE #EE5C97 #E0EE5C #5CEEB3
square
#6A5CEE #EE5C97 #E0EE5C #5CEEB3
split-complementary
#6A5CEE #EEB35C #97EE5C
monochromatic
#2414BC #3725E8 #6A5CEE #9D93F4 #CFCBFA

Accessibility & contrast

On white

4.80
#6A5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6A5CEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CEE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CEE#FFFFFF#000000##FFFFFF
##6A5CEE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#006DEB
Tritanopia (blue-blind)
#27809C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5cee;
/* rgb */ color: rgb(106, 92, 238);
/* oklch */ color: oklch(57.1% 0.211 281.7);
Tailwind
colors: {
  custom: {
    50: '#a08bf5',
    500: '#6a5cee',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cee;
$custom-light: #a08bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cee",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 245.753,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.21121,
    "h": 281.7
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#6A5CEE
secondary
#E7ECBA
accent
#DD08C9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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