#6A5CDF#6A5CDF

#6A5CDF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 56.0% C 0.192 H 283.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6A5CDF
RGBrgb(106, 92, 223)
HSLhsl(246, 67%, 62%)
HSVhsv(246, 59%, 87%)
CMYKcmyk(52.5%, 58.7%, 0%, 12.5%)
CIE-LABlab(47.03, 40.27, -65.30)
CIE-LCHlch(47.03, 76.72, 301.66°)
OKLaboklab(56% 0.0436 -0.1871)
OKLCHoklch(56% 0.192 283.1)
XYZxyz(23.0862, 16.0449, 71.6782)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CDF #D1DF5C
analogous
#5C90DF #6A5CDF #AC5CDF
triadic
#6A5CDF #DF6A5C #5CDF6A
tetradic
#6A5CDF #DF5C90 #D1DF5C #5CDFAC
square
#6A5CDF #DF5C90 #D1DF5C #5CDFAC
split-complementary
#6A5CDF #DFAC5C #90DF5C
monochromatic
#2D20A1 #3C2AD4 #6A5CDF #998FE9 #C8C2F3

Accessibility & contrast

On white

4.99
#6A5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6A5CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CDF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CDF#FFFFFF#000000##FFFFFF
##6A5CDF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#397B95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a5cdf;
/* rgb */ color: rgb(106, 92, 223);
/* oklch */ color: oklch(56.0% 0.192 283.1);
Tailwind
colors: {
  custom: {
    50: '#9e8bea',
    500: '#6a5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cdf;
$custom-light: #9e8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cdf",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 246.412,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.19212,
    "h": 283.1
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#6A5CDF
secondary
#DEE4B3
accent
#CF16BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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