#6A61BA#6A61BA

#6A61BA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.135 H 285.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6A61BA
RGBrgb(106, 97, 186)
HSLhsl(246, 39%, 55%)
HSVhsv(246, 48%, 73%)
CMYKcmyk(43%, 47.8%, 0%, 27.1%)
CIE-LABlab(45.85, 26.16, -45.96)
CIE-LCHlch(45.85, 52.89, 299.65°)
OKLaboklab(54.36% 0.0363 -0.1302)
OKLCHoklch(54.36% 0.135 285.6)
XYZxyz(19.0789, 15.1580, 48.3654)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A61BA #B1BA61
analogous
#6185BA #6A61BA #9661BA
triadic
#6A61BA #BA6A61 #61BA6A
tetradic
#6A61BA #BA6185 #B1BA61 #61BA96
square
#6A61BA #BA6185 #B1BA61 #61BA96
split-complementary
#6A61BA #BA9661 #85BA61
monochromatic
#373170 #4C439A #6A61BA #928CCD #BAB6DF

Accessibility & contrast

On white

5.21
#6A61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6A61BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A61BA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A61BA#FFFFFF#000000##FFFFFF
##6A61BA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#527384
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a61ba;
/* rgb */ color: rgb(106, 97, 186);
/* oklch */ color: oklch(54.4% 0.135 285.6);
Tailwind
colors: {
  custom: {
    50: '#998ecf',
    500: '#6a61ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a61ba;
$custom-light: #998ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a61ba",
  "rgb": {
    "r": 106,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 246.067,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.13521,
    "h": 285.6
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#6A61BA
secondary
#CACEA9
accent
#CF59C3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6A61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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