#6A7FF2#6A7FF2

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

Color values

HEX#6A7FF2
RGBrgb(106, 127, 242)
HSLhsl(231, 84%, 68%)
HSVhsv(231, 56%, 95%)
CMYKcmyk(56.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(56.73, 25.23, -60.32)
CIE-LCHlch(56.73, 65.38, 292.70°)
OKLaboklab(63.65% 0.0084 -0.1722)
OKLCHoklch(63.65% 0.172 272.8)
XYZxyz(29.5550, 24.6515, 87.1880)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7FF2 #F2DD6A
analogous
#6AC3F2 #6A7FF2 #996AF2
triadic
#6A7FF2 #F26A7F #7FF26A
tetradic
#6A7FF2 #F26AC3 #F2DD6A #6AF299
square
#6A7FF2 #F26AC3 #F2DD6A #6AF299
split-complementary
#6A7FF2 #F2996A #C3F26A
monochromatic
#122FCF #324FED #6A7FF2 #A2AFF7 #DBE0FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7FF2#FFFFFF#000000##000000
##6A7FF21.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)
#478EF6
Deuteranopia (green-blind)
#3383F0
Tritanopia (blue-blind)
#1299AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a7ff2;
/* rgb */ color: rgb(106, 127, 242);
/* oklch */ color: oklch(63.7% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#9ea3f7',
    500: '#6a7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6a7ff2;
$custom-light: #9ea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7ff2",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 230.735,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63652,
    "c": 0.17237,
    "h": 272.8
  },
  "luminance": 0.24654
}

Semantic roles & 50–950 ramp

primary
#6A7FF2
secondary
#F1EAC7
accent
#BF05E0
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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