#6A6EF6#6A6EF6

#6A6EF6 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.8% C 0.199 H 277.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6A6EF6
RGBrgb(106, 110, 246)
HSLhsl(238, 89%, 69%)
HSVhsv(238, 57%, 96%)
CMYKcmyk(56.9%, 55.3%, 0%, 3.5%)
CIE-LABlab(52.80, 36.71, -68.87)
CIE-LCHlch(52.80, 78.04, 298.06°)
OKLaboklab(60.78% 0.0257 -0.1975)
OKLCHoklch(60.78% 0.199 277.4)
XYZxyz(28.1490, 20.8679, 89.7155)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6EF6 #F6F26A
analogous
#6AB4F6 #6A6EF6 #AC6AF6
triadic
#6A6EF6 #F66A6E #6EF66A
tetradic
#6A6EF6 #F66AB4 #F6F26A #6AF6AC
square
#6A6EF6 #F66AB4 #F6F26A #6AF6AC
split-complementary
#6A6EF6 #F6AC6A #B4F66A
monochromatic
#0D13D9 #3036F3 #6A6EF6 #A4A6F9 #DDDEFD

Accessibility & contrast

On white

4.06
#6A6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6A6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6EF6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6EF6#FFFFFF#000000##000000
##6A6EF61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#0E8EA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a6ef6;
/* rgb */ color: rgb(106, 110, 246);
/* oklch */ color: oklch(60.8% 0.199 277.4);
Tailwind
colors: {
  custom: {
    50: '#a097fa',
    500: '#6a6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ef6;
$custom-light: #a097fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ef6",
  "rgb": {
    "r": 106,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 238.286,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.19916,
    "h": 277.4
  },
  "luminance": 0.2087
}

Semantic roles & 50–950 ramp

primary
#6A6EF6
secondary
#F2F1C9
accent
#DF00E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6A6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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