#6A5DEC#6A5DEC

#6A5DEC is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.207 H 281.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6A5DEC
RGBrgb(106, 93, 236)
HSLhsl(245, 79%, 65%)
HSVhsv(245, 61%, 93%)
CMYKcmyk(55.1%, 60.6%, 0%, 7.5%)
CIE-LABlab(48.19, 43.64, -70.76)
CIE-LCHlch(48.19, 83.13, 301.66°)
OKLaboklab(57.15% 0.0421 -0.2031)
OKLCHoklch(57.15% 0.207 281.7)
XYZxyz(24.9938, 16.9474, 81.2948)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DEC #DFEC5D
analogous
#5D97EC #6A5DEC #B25DEC
triadic
#6A5DEC #EC6A5D #5DEC6A
tetradic
#6A5DEC #EC5D97 #DFEC5D #5DECB2
square
#6A5DEC #EC5D97 #DFEC5D #5DECB2
split-complementary
#6A5DEC #ECB25D #97EC5D
monochromatic
#2516B9 #3826E6 #6A5DEC #9C94F2 #CFCBF9

Accessibility & contrast

On white

4.78
#6A5DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6A5DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DEC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DEC#FFFFFF#000000##FFFFFF
##6A5DEC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#29809C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a5dec;
/* rgb */ color: rgb(106, 93, 236);
/* oklch */ color: oklch(57.1% 0.207 281.7);
Tailwind
colors: {
  custom: {
    50: '#9f8bf3',
    500: '#6a5dec',
    950: '#000000',
  },
}
SCSS
$custom: #6a5dec;
$custom-light: #9f8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5dec",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 245.455,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.20746,
    "h": 281.7
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#6A5DEC
secondary
#E7EBBA
accent
#DB0AC8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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