#6E5AEC#6E5AEC

#6E5AEC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.0% C 0.211 H 283.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6E5AEC
RGBrgb(110, 90, 236)
HSLhsl(248, 79%, 64%)
HSVhsv(248, 62%, 93%)
CMYKcmyk(53.4%, 61.9%, 0%, 7.5%)
CIE-LABlab(47.86, 46.06, -71.29)
CIE-LCHlch(47.86, 84.88, 302.87°)
OKLaboklab(56.98% 0.0499 -0.2046)
OKLCHoklch(56.98% 0.211 283.7)
XYZxyz(25.2223, 16.6820, 81.2315)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5AEC #D8EC5A
analogous
#5A8FEC #6E5AEC #B75AEC
triadic
#6E5AEC #EC6E5A #5AEC6E
tetradic
#6E5AEC #EC5A8F #D8EC5A #5AECB7
square
#6E5AEC #EC5A8F #D8EC5A #5AECB7
split-complementary
#6E5AEC #ECB75A #8FEC5A
monochromatic
#2B15B7 #3E23E6 #6E5AEC #9E91F2 #CEC8F9

Accessibility & contrast

On white

4.84
#6E5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6E5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5AEC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5AEC#FFFFFF#000000##FFFFFF
##6E5AEC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#377D9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e5aec;
/* rgb */ color: rgb(110, 90, 236);
/* oklch */ color: oklch(57.0% 0.211 283.7);
Tailwind
colors: {
  custom: {
    50: '#a28af3',
    500: '#6e5aec',
    950: '#000000',
  },
}
SCSS
$custom: #6e5aec;
$custom-light: #a28af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5aec",
  "rgb": {
    "r": 110,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 248.219,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.21061,
    "h": 283.7
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#6E5AEC
secondary
#E3EBB7
accent
#DC0ABF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6E5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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