#6E5CE5#6E5CE5

#6E5CE5 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.8% C 0.199 H 284.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6E5CE5
RGBrgb(110, 92, 229)
HSLhsl(248, 72%, 63%)
HSVhsv(248, 60%, 90%)
CMYKcmyk(52%, 59.8%, 0%, 10.2%)
CIE-LABlab(47.78, 42.83, -67.47)
CIE-LCHlch(47.78, 79.91, 302.41°)
OKLaboklab(56.77% 0.0483 -0.1934)
OKLCHoklch(56.77% 0.199 284)
XYZxyz(24.3961, 16.6251, 76.0370)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5CE5 #D3E55C
analogous
#5C8EE5 #6E5CE5 #B25CE5
triadic
#6E5CE5 #E56E5C #5CE56E
tetradic
#6E5CE5 #E55C8E #D3E55C #5CE5B2
square
#6E5CE5 #E55C8E #D3E55C #5CE5B2
split-complementary
#6E5CE5 #E5B25C #8EE55C
monochromatic
#2E1BAB #3F27DD #6E5CE5 #9D91ED #CCC6F6

Accessibility & contrast

On white

4.86
#6E5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6E5CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5CE5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5CE5#FFFFFF#000000##FFFFFF
##6E5CE51.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#3E7C98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6e5ce5;
/* rgb */ color: rgb(110, 92, 229);
/* oklch */ color: oklch(56.8% 0.199 284.0);
Tailwind
colors: {
  custom: {
    50: '#a18bee',
    500: '#6e5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6e5ce5;
$custom-light: #a18bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5ce5",
  "rgb": {
    "r": 110,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 247.883,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.19931,
    "h": 284
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#6E5CE5
secondary
#E1E7B6
accent
#D511BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6E5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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