#6A5CE4#6A5CE4

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

Color values

HEX#6A5CE4
RGBrgb(106, 92, 228)
HSLhsl(246, 72%, 63%)
HSVhsv(246, 60%, 89%)
CMYKcmyk(53.5%, 59.6%, 0%, 10.6%)
CIE-LABlab(47.39, 41.79, -67.56)
CIE-LCHlch(47.39, 79.44, 301.74°)
OKLaboklab(56.38% 0.0434 -0.1937)
OKLCHoklch(56.38% 0.199 282.6)
XYZxyz(23.7703, 16.3185, 75.2810)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CE4 #D6E45C
analogous
#5C92E4 #6A5CE4 #AE5CE4
triadic
#6A5CE4 #E46A5C #5CE46A
tetradic
#6A5CE4 #E45C92 #D6E45C #5CE4AE
square
#6A5CE4 #E45C92 #D6E45C #5CE4AE
split-complementary
#6A5CE4 #E4AE5C #92E45C
monochromatic
#2B1CAA #3A27DB #6A5CE4 #9A91ED #CAC5F5

Accessibility & contrast

On white

4.92
#6A5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6A5CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CE4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CE4#FFFFFF#000000##FFFFFF
##6A5CE41.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#347C97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a5ce4;
/* rgb */ color: rgb(106, 92, 228);
/* oklch */ color: oklch(56.4% 0.199 282.6);
Tailwind
colors: {
  custom: {
    50: '#9e8bed',
    500: '#6a5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ce4;
$custom-light: #9e8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ce4",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 246.176,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.19854,
    "h": 282.6
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#6A5CE4
secondary
#E1E7B5
accent
#D412C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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