#6A6FF6#6A6FF6

#6A6FF6 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.0% C 0.198 H 277.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6A6FF6
RGBrgb(106, 111, 246)
HSLhsl(238, 89%, 69%)
HSVhsv(238, 57%, 96%)
CMYKcmyk(56.9%, 54.9%, 0%, 3.5%)
CIE-LABlab(53.04, 36.11, -68.49)
CIE-LCHlch(53.04, 77.42, 297.80°)
OKLaboklab(60.96% 0.0247 -0.1963)
OKLCHoklch(60.96% 0.198 277.2)
XYZxyz(28.2575, 21.0849, 89.7516)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6FF6 #F6F16A
analogous
#6AB5F6 #6A6FF6 #AB6AF6
triadic
#6A6FF6 #F66A6F #6FF66A
tetradic
#6A6FF6 #F66AB5 #F6F16A #6AF6AB
square
#6A6FF6 #F66AB5 #F6F16A #6AF6AB
split-complementary
#6A6FF6 #F6AB6A #B5F66A
monochromatic
#0D14D9 #3037F3 #6A6FF6 #A4A7F9 #DDDFFD

Accessibility & contrast

On white

4.02
#6A6FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6A6FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6FF6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6FF6#FFFFFF#000000##000000
##6A6FF61.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0285FB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#0D8FA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a6ff6;
/* rgb */ color: rgb(106, 111, 246);
/* oklch */ color: oklch(61.0% 0.198 277.2);
Tailwind
colors: {
  custom: {
    50: '#a098fa',
    500: '#6a6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ff6;
$custom-light: #a098fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ff6",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 237.857,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.1979,
    "h": 277.2
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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