#6A5EEF#6A5EEF

#6A5EEF is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.5% C 0.210 H 281.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A5EEF
RGBrgb(106, 94, 239)
HSLhsl(245, 82%, 65%)
HSVhsv(245, 61%, 94%)
CMYKcmyk(55.6%, 60.7%, 0%, 6.3%)
CIE-LABlab(48.64, 43.97, -71.73)
CIE-LCHlch(48.64, 84.13, 301.51°)
OKLaboklab(57.54% 0.041 -0.206)
OKLCHoklch(57.54% 0.21 281.2)
XYZxyz(25.5217, 17.2999, 83.6390)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5EEF #E3EF5E
analogous
#5E9AEF #6A5EEF #B35EEF
triadic
#6A5EEF #EF6A5E #5EEF6A
tetradic
#6A5EEF #EF5E9A #E3EF5E #5EEFB3
square
#6A5EEF #EF5E9A #E3EF5E #5EEFB3
split-complementary
#6A5EEF #EFB35E #9AEF5E
monochromatic
#2113C0 #3626E9 #6A5EEF #9E96F5 #D1CDFA

Accessibility & contrast

On white

4.71
#6A5EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6A5EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5EEF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5EEF#FFFFFF#000000##FFFFFF
##6A5EEF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#24819E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5eef;
/* rgb */ color: rgb(106, 94, 239);
/* oklch */ color: oklch(57.5% 0.210 281.2);
Tailwind
colors: {
  custom: {
    50: '#a08cf5',
    500: '#6a5eef',
    950: '#000000',
  },
}
SCSS
$custom: #6a5eef;
$custom-light: #a08cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5eef",
  "rgb": {
    "r": 106,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 244.966,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57542,
    "c": 0.21002,
    "h": 281.2
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#6A5EEF
secondary
#E9EDBC
accent
#DE07CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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