#6A7EF6#6A7EF6

#6A7EF6 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.7% C 0.179 H 273.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6A7EF6
RGBrgb(106, 126, 246)
HSLhsl(231, 89%, 69%)
HSVhsv(231, 57%, 96%)
CMYKcmyk(56.9%, 48.8%, 0%, 3.5%)
CIE-LABlab(56.72, 27.11, -62.56)
CIE-LCHlch(56.72, 68.18, 293.43°)
OKLaboklab(63.72% 0.0099 -0.1788)
OKLCHoklch(63.72% 0.179 273.2)
XYZxyz(30.0338, 24.6375, 90.3437)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7EF6 #F6E26A
analogous
#6AC4F6 #6A7EF6 #9C6AF6
triadic
#6A7EF6 #F66A7E #7EF66A
tetradic
#6A7EF6 #F66AC4 #F6E26A #6AF69C
square
#6A7EF6 #F66AC4 #F6E26A #6AF69C
split-complementary
#6A7EF6 #F69C6A #C4F66A
monochromatic
#0D2AD9 #304CF3 #6A7EF6 #A4B0F9 #DDE2FD

Accessibility & contrast

On white

3.54
#6A7EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6A7EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7EF6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7EF6#FFFFFF#000000##000000
##6A7EF61.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EFA
Deuteranopia (green-blind)
#2982F3
Tritanopia (blue-blind)
#0199AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a7ef6;
/* rgb */ color: rgb(106, 126, 246);
/* oklch */ color: oklch(63.7% 0.179 273.2);
Tailwind
colors: {
  custom: {
    50: '#9fa3fa',
    500: '#6a7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #6a7ef6;
$custom-light: #9fa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7ef6",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 231.429,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63718,
    "c": 0.17903,
    "h": 273.2
  },
  "luminance": 0.2464
}

Semantic roles & 50–950 ramp

primary
#6A7EF6
secondary
#F2EDC9
accent
#C500E5
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #6A7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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