#6A63B6#6A63B6

#6A63B6 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.127 H 285.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A63B6
RGBrgb(106, 99, 182)
HSLhsl(245, 36%, 55%)
HSVhsv(245, 46%, 71%)
CMYKcmyk(41.8%, 45.6%, 0%, 28.6%)
CIE-LABlab(46.13, 23.77, -43.19)
CIE-LCHlch(46.13, 49.30, 298.82°)
OKLaboklab(54.5% 0.0332 -0.1221)
OKLCHoklch(54.5% 0.127 285.2)
XYZxyz(18.8468, 15.3645, 46.2195)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A63B6 #AFB663
analogous
#6386B6 #6A63B6 #9363B6
triadic
#6A63B6 #B66A63 #63B66A
tetradic
#6A63B6 #B66386 #AFB663 #63B693
square
#6A63B6 #B66386 #AFB663 #63B693
split-complementary
#6A63B6 #B69363 #86B663
monochromatic
#37336C #4D4696 #6A63B6 #928DCA #BAB6DD

Accessibility & contrast

On white

5.16
#6A63B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A63B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A63B6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A63B6#FFFFFF#000000##FFFFFF
##6A63B61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470B9
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#547484
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a63b6;
/* rgb */ color: rgb(106, 99, 182);
/* oklch */ color: oklch(54.5% 0.127 285.2);
Tailwind
colors: {
  custom: {
    50: '#988fcc',
    500: '#6a63b6',
    950: '#000000',
  },
}
SCSS
$custom: #6a63b6;
$custom-light: #988fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a63b6",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 182
  },
  "hsl": {
    "h": 245.06,
    "s": 36.245,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.12655,
    "h": 285.2
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#6A63B6
secondary
#C9CCA9
accent
#CC5CC3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #6A63B6

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

Preview Lab → · Contrast checker → · Palette generator →

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