#6A71FA#6A71FA

#6A71FA is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.6% C 0.201 H 276.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6A71FA
RGBrgb(106, 113, 250)
HSLhsl(237, 94%, 70%)
HSVhsv(237, 58%, 98%)
CMYKcmyk(57.6%, 54.8%, 0%, 2%)
CIE-LABlab(53.79, 36.18, -69.50)
CIE-LCHlch(53.79, 78.36, 297.50°)
OKLaboklab(61.6% 0.0229 -0.1993)
OKLCHoklch(61.6% 0.201 276.6)
XYZxyz(29.0987, 21.7744, 93.0934)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71FA #FAF36A
analogous
#6AB9FA #6A71FA #AB6AFA
triadic
#6A71FA #FA6A71 #71FA6A
tetradic
#6A71FA #FA6AB9 #FAF36A #6AFAAB
square
#6A71FA #FA6AB9 #FAF36A #6AFAAB
split-complementary
#6A71FA #FAAB6A #B9FA6A
monochromatic
#0812E2 #2F39F8 #6A71FA #A5A9FC #E0E2FE

Accessibility & contrast

On white

3.92
#6A71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6A71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71FA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71FA#FFFFFF#000000##000000
##6A71FA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#0091AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6a71fa;
/* rgb */ color: rgb(106, 113, 250);
/* oklch */ color: oklch(61.6% 0.201 276.6);
Tailwind
colors: {
  custom: {
    50: '#a099fd',
    500: '#6a71fa',
    950: '#000000',
  },
}
SCSS
$custom: #6a71fa;
$custom-light: #a099fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71fa",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 237.083,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.20063,
    "h": 276.6
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#6A71FA
secondary
#F4F2CC
accent
#DA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6A71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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