#6A6AF6#6A6AF6

#6A6AF6 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.1% C 0.204 H 278.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6A6AF6
RGBrgb(106, 106, 246)
HSLhsl(240, 89%, 69%)
HSVhsv(240, 57%, 96%)
CMYKcmyk(56.9%, 56.9%, 0%, 3.5%)
CIE-LABlab(51.86, 39.09, -70.39)
CIE-LCHlch(51.86, 80.52, 299.04°)
OKLaboklab(60.08% 0.0295 -0.202)
OKLCHoklch(60.08% 0.204 278.3)
XYZxyz(27.7272, 20.0241, 89.5749)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6AF6 #F6F66A
analogous
#6AB0F6 #6A6AF6 #B06AF6
triadic
#6A6AF6 #F66A6A #6AF66A
tetradic
#6A6AF6 #F66AB0 #F6F66A #6AF6B0
square
#6A6AF6 #F66AB0 #F6F66A #6AF6B0
split-complementary
#6A6AF6 #F6B06A #B0F66A
monochromatic
#0D0DD9 #3030F3 #6A6AF6 #A4A4F9 #DDDDFD

Accessibility & contrast

On white

4.20
#6A6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6A6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A6AF6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6AF6#FFFFFF#000000##000000
##6A6AF61.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#108BA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a6af6;
/* rgb */ color: rgb(106, 106, 246);
/* oklch */ color: oklch(60.1% 0.204 278.3);
Tailwind
colors: {
  custom: {
    50: '#a095fa',
    500: '#6a6af6',
    950: '#000000',
  },
}
SCSS
$custom: #6a6af6;
$custom-light: #a095fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6af6",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.20415,
    "h": 278.3
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#6A6AF6
secondary
#F2F2C9
accent
#E500E5
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6A6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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