#6A5CE7#6A5CE7

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

Color values

HEX#6A5CE7
RGBrgb(106, 92, 231)
HSLhsl(246, 74%, 63%)
HSVhsv(246, 60%, 91%)
CMYKcmyk(54.1%, 60.2%, 0%, 9.4%)
CIE-LABlab(47.61, 42.70, -68.90)
CIE-LCHlch(47.61, 81.06, 301.79°)
OKLaboklab(56.6% 0.0433 -0.1977)
OKLCHoklch(56.6% 0.202 282.3)
XYZxyz(24.1904, 16.4865, 77.4933)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CE7 #D9E75C
analogous
#5C93E7 #6A5CE7 #AF5CE7
triadic
#6A5CE7 #E76A5C #5CE76A
tetradic
#6A5CE7 #E75C93 #D9E75C #5CE7AF
square
#6A5CE7 #E75C93 #D9E75C #5CE7AF
split-complementary
#6A5CE7 #E7AF5C #93E75C
monochromatic
#291AAF #3927DF #6A5CE7 #9B91EF #CCC7F7

Accessibility & contrast

On white

4.89
#6A5CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6A5CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CE7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CE7#FFFFFF#000000##FFFFFF
##6A5CE71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a5ce7;
/* rgb */ color: rgb(106, 92, 231);
/* oklch */ color: oklch(56.6% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#9f8bf0',
    500: '#6a5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ce7;
$custom-light: #9f8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ce7",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 246.043,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.20237,
    "h": 282.3
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#6A5CE7
secondary
#E3E8B7
accent
#D60FC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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