#6A5CCF#6A5CCF

#6A5CCF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.171 H 284.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6A5CCF
RGBrgb(106, 92, 207)
HSLhsl(247, 55%, 59%)
HSVhsv(247, 56%, 81%)
CMYKcmyk(48.8%, 55.6%, 0%, 18.8%)
CIE-LABlab(45.94, 35.44, -57.95)
CIE-LCHlch(45.94, 67.93, 301.45°)
OKLaboklab(54.85% 0.0437 -0.1655)
OKLCHoklch(54.85% 0.171 284.8)
XYZxyz(21.0301, 15.2224, 60.8495)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CCF #C1CF5C
analogous
#5C87CF #6A5CCF #A35CCF
triadic
#6A5CCF #CF6A5C #5CCF6A
tetradic
#6A5CCF #CF5C87 #C1CF5C #5CCFA3
square
#6A5CCF #CF5C87 #C1CF5C #5CCFA3
split-complementary
#6A5CCF #CFA35C #87CF5C
monochromatic
#342888 #4636B8 #6A5CCF #958BDD #C0BBEB

Accessibility & contrast

On white

5.19
#6A5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6A5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CCF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CCF#FFFFFF#000000##FFFFFF
##6A5CCF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1470D3
Deuteranopia (green-blind)
#0969CD
Tritanopia (blue-blind)
#46768C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a5ccf;
/* rgb */ color: rgb(106, 92, 207);
/* oklch */ color: oklch(54.8% 0.171 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ade',
    500: '#6a5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ccf;
$custom-light: #9b8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ccf",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 247.304,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.17115,
    "h": 284.8
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#6A5CCF
secondary
#D5DAAD
accent
#DE4ACC
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6A5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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