#6A6FFE#6A6FFE

#6A6FFE is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.5% C 0.208 H 276.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A6FFE
RGBrgb(106, 111, 254)
HSLhsl(238, 99%, 71%)
HSVhsv(238, 58%, 100%)
CMYKcmyk(58.3%, 56.3%, 0%, 0.4%)
CIE-LABlab(53.59, 38.64, -72.04)
CIE-LCHlch(53.59, 81.75, 298.21°)
OKLaboklab(61.53% 0.0249 -0.2068)
OKLCHoklch(61.53% 0.208 276.9)
XYZxyz(29.5119, 21.5866, 96.3582)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6FFE #FEF96A
analogous
#6AB9FE #6A6FFE #AF6AFE
triadic
#6A6FFE #FE6A6F #6FFE6A
tetradic
#6A6FFE #FE6AB9 #FEF96A #6AFEAF
square
#6A6FFE #FE6AB9 #FEF96A #6AFEAF
split-complementary
#6A6FFE #FEAF6A #B9FE6A
monochromatic
#020AEC #2D34FE #6A6FFE #A7AAFE #E1E2FF

Accessibility & contrast

On white

3.95
#6A6FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6A6FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6FFE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6FFE#FFFFFF#000000##000000
##6A6FFE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#0091AC
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a6ffe;
/* rgb */ color: rgb(106, 111, 254);
/* oklch */ color: oklch(61.5% 0.208 276.9);
Tailwind
colors: {
  custom: {
    50: '#a198ff',
    500: '#6a6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #6a6ffe;
$custom-light: #a198ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6ffe",
  "rgb": {
    "r": 106,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 237.973,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.2083,
    "h": 276.9
  },
  "luminance": 0.21589
}

Semantic roles & 50–950 ramp

primary
#6A6FFE
secondary
#F6F5CE
accent
#DE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6A6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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