#6A5DCD#6A5DCD

#6A5DCD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.9% C 0.167 H 284.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6A5DCD
RGBrgb(106, 93, 205)
HSLhsl(247, 53%, 58%)
HSVhsv(247, 55%, 80%)
CMYKcmyk(48.3%, 54.6%, 0%, 19.6%)
CIE-LABlab(46.04, 34.25, -56.63)
CIE-LCHlch(46.04, 66.18, 301.16°)
OKLaboklab(54.88% 0.0425 -0.1616)
OKLCHoklch(54.88% 0.167 284.7)
XYZxyz(20.8744, 15.2997, 59.5990)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DCD #C0CD5D
analogous
#5D88CD #6A5DCD #A25DCD
triadic
#6A5DCD #CD6A5D #5DCD6A
tetradic
#6A5DCD #CD5D88 #C0CD5D #5DCDA2
square
#6A5DCD #CD5D88 #C0CD5D #5DCDA2
split-complementary
#6A5DCD #CDA25D #88CD5D
monochromatic
#342986 #4638B5 #6A5DCD #958CDB #C0BBEA

Accessibility & contrast

On white

5.17
#6A5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6A5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DCD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DCD#FFFFFF#000000##FFFFFF
##6A5DCD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#166ACB
Tritanopia (blue-blind)
#47768C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a5dcd;
/* rgb */ color: rgb(106, 93, 205);
/* oklch */ color: oklch(54.9% 0.167 284.7);
Tailwind
colors: {
  custom: {
    50: '#9b8bdd',
    500: '#6a5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #6a5dcd;
$custom-light: #9b8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5dcd",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 246.964,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.1671,
    "h": 284.7
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#6A5DCD
secondary
#D4D9AD
accent
#DC4CCB
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6A5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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