#6E5DEC#6E5DEC

#6E5DEC is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.207 H 283.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6E5DEC
RGBrgb(110, 93, 236)
HSLhsl(247, 79%, 65%)
HSVhsv(247, 61%, 93%)
CMYKcmyk(53.4%, 60.6%, 0%, 7.5%)
CIE-LABlab(48.51, 44.34, -70.23)
CIE-LCHlch(48.51, 83.06, 302.27°)
OKLaboklab(57.46% 0.047 -0.2015)
OKLCHoklch(57.46% 0.207 283.1)
XYZxyz(25.4805, 17.1983, 81.3176)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5DEC #DBEC5D
analogous
#5D94EC #6E5DEC #B65DEC
triadic
#6E5DEC #EC6E5D #5DEC6E
tetradic
#6E5DEC #EC5D94 #DBEC5D #5DECB6
square
#6E5DEC #EC5D94 #DBEC5D #5DECB6
split-complementary
#6E5DEC #ECB65D #94EC5D
monochromatic
#2916B9 #3D26E6 #6E5DEC #9F94F2 #D0CBF9

Accessibility & contrast

On white

4.73
#6E5DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6E5DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5DEC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5DEC#FFFFFF#000000##FFFFFF
##6E5DEC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#367F9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e5dec;
/* rgb */ color: rgb(110, 93, 236);
/* oklch */ color: oklch(57.5% 0.207 283.1);
Tailwind
colors: {
  custom: {
    50: '#a28cf3',
    500: '#6e5dec',
    950: '#000000',
  },
}
SCSS
$custom: #6e5dec;
$custom-light: #a28cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5dec",
  "rgb": {
    "r": 110,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 247.133,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.2069,
    "h": 283.1
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#6E5DEC
secondary
#E5EBBA
accent
#DB0AC2
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6E5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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