#6A5DEE#6A5DEE

#6A5DEE is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.210 H 281.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6A5DEE
RGBrgb(106, 93, 238)
HSLhsl(245, 81%, 65%)
HSVhsv(245, 61%, 93%)
CMYKcmyk(55.5%, 60.9%, 0%, 6.7%)
CIE-LABlab(48.34, 44.24, -71.64)
CIE-LCHlch(48.34, 84.20, 301.70°)
OKLaboklab(57.3% 0.042 -0.2057)
OKLCHoklch(57.3% 0.21 281.5)
XYZxyz(25.2860, 17.0643, 82.8337)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DEE #E1EE5D
analogous
#5D99EE #6A5DEE #B25DEE
triadic
#6A5DEE #EE6A5D #5DEE6A
tetradic
#6A5DEE #EE5D99 #E1EE5D #5DEEB2
square
#6A5DEE #EE5D99 #E1EE5D #5DEEB2
split-complementary
#6A5DEE #EEB25D #99EE5D
monochromatic
#2314BD #3726E8 #6A5DEE #9D94F4 #D0CCFA

Accessibility & contrast

On white

4.76
#6A5DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6A5DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5DEE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DEE#FFFFFF#000000##FFFFFF
##6A5DEE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#26809D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5dee;
/* rgb */ color: rgb(106, 93, 238);
/* oklch */ color: oklch(57.3% 0.210 281.5);
Tailwind
colors: {
  custom: {
    50: '#a08bf5',
    500: '#6a5dee',
    950: '#000000',
  },
}
SCSS
$custom: #6a5dee;
$custom-light: #a08bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5dee",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 245.379,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.20998,
    "h": 281.5
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#6A5DEE
secondary
#E8ECBB
accent
#DD08CA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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