#6A5CDC#6A5CDC

#6A5CDC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.8% C 0.188 H 283.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6A5CDC
RGBrgb(106, 92, 220)
HSLhsl(247, 65%, 61%)
HSVhsv(247, 58%, 86%)
CMYKcmyk(51.8%, 58.2%, 0%, 13.7%)
CIE-LABlab(46.82, 39.36, -63.94)
CIE-LCHlch(46.82, 75.09, 301.62°)
OKLaboklab(55.78% 0.0436 -0.1831)
OKLCHoklch(55.78% 0.188 283.4)
XYZxyz(22.6854, 15.8845, 69.5669)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CDC #CEDC5C
analogous
#5C8EDC #6A5CDC #AA5CDC
triadic
#6A5CDC #DC6A5C #5CDC6A
tetradic
#6A5CDC #DC5C8E #CEDC5C #5CDCAA
square
#6A5CDC #DC5C8E #CEDC5C #5CDCAA
split-complementary
#6A5CDC #DCAA5C #8EDC5C
monochromatic
#2F229C #3E2CCE #6A5CDC #988EE7 #C6C1F2

Accessibility & contrast

On white

5.03
#6A5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6A5CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CDC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CDC#FFFFFF#000000##FFFFFF
##6A5CDC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#3C7A93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a5cdc;
/* rgb */ color: rgb(106, 92, 220);
/* oklch */ color: oklch(55.8% 0.188 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d8be8',
    500: '#6a5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cdc;
$custom-light: #9d8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cdc",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 246.563,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.18824,
    "h": 283.4
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#6A5CDC
secondary
#DDE2B2
accent
#CC19B9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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