#6E5FE4#6E5FE4

#6E5FE4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.2% C 0.194 H 283.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6E5FE4
RGBrgb(110, 95, 228)
HSLhsl(247, 71%, 63%)
HSVhsv(247, 58%, 89%)
CMYKcmyk(51.8%, 58.3%, 0%, 10.6%)
CIE-LABlab(48.39, 40.78, -65.93)
CIE-LCHlch(48.39, 77.52, 301.74°)
OKLaboklab(57.19% 0.0453 -0.1888)
OKLCHoklch(57.19% 0.194 283.5)
XYZxyz(24.5220, 17.0995, 75.3921)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E5FE4 #D5E45F
analogous
#5F92E4 #6E5FE4 #B05FE4
triadic
#6E5FE4 #E46E5F #5FE46E
tetradic
#6E5FE4 #E45F92 #D5E45F #5FE4B0
square
#6E5FE4 #E45F92 #D5E45F #5FE4B0
split-complementary
#6E5FE4 #E4B05F #92E45F
monochromatic
#2D1DAC #3F2BDB #6E5FE4 #9D93ED #CDC8F6

Accessibility & contrast

On white

4.75
#6E5FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6E5FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E5FE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E5FE4#FFFFFF#000000##FFFFFF
##6E5FE41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#3E7E98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e5fe4;
/* rgb */ color: rgb(110, 95, 228);
/* oklch */ color: oklch(57.2% 0.194 283.5);
Tailwind
colors: {
  custom: {
    50: '#a08ded',
    500: '#6e5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #6e5fe4;
$custom-light: #a08ded;
$custom-dark: #000000;
JSON
{
  "hex": "#6e5fe4",
  "rgb": {
    "r": 110,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 246.767,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.19419,
    "h": 283.5
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#6E5FE4
secondary
#E2E7B8
accent
#D312BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6E5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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