#6A5CE6#6A5CE6

#6A5CE6 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.201 H 282.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6A5CE6
RGBrgb(106, 92, 230)
HSLhsl(246, 73%, 63%)
HSVhsv(246, 60%, 90%)
CMYKcmyk(53.9%, 60%, 0%, 9.8%)
CIE-LABlab(47.53, 42.39, -68.45)
CIE-LCHlch(47.53, 80.52, 301.77°)
OKLaboklab(56.53% 0.0433 -0.1964)
OKLCHoklch(56.53% 0.201 282.4)
XYZxyz(24.0495, 16.4302, 76.7517)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CE6 #D8E65C
analogous
#5C93E6 #6A5CE6 #AF5CE6
triadic
#6A5CE6 #E66A5C #5CE66A
tetradic
#6A5CE6 #E65C93 #D8E65C #5CE6AF
square
#6A5CE6 #E65C93 #D8E65C #5CE6AF
split-complementary
#6A5CE6 #E6AF5C #93E65C
monochromatic
#291BAD #3927DE #6A5CE6 #9B91EE #CBC6F6

Accessibility & contrast

On white

4.90
#6A5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6A5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CE6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CE6#FFFFFF#000000##FFFFFF
##6A5CE61.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#317D98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a5ce6;
/* rgb */ color: rgb(106, 92, 230);
/* oklch */ color: oklch(56.5% 0.201 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f8bef',
    500: '#6a5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ce6;
$custom-light: #9f8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ce6",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 246.087,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.20109,
    "h": 282.4
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#6A5CE6
secondary
#E3E8B6
accent
#D610C1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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