#6645BB#6645BB

#6645BB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.177 H 291.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6645BB
RGBrgb(102, 69, 187)
HSLhsl(257, 46%, 50%)
HSVhsv(257, 63%, 73%)
CMYKcmyk(45.5%, 63.1%, 0%, 26.7%)
CIE-LABlab(39.02, 42.21, -57.56)
CIE-LCHlch(39.02, 71.38, 306.25°)
OKLaboklab(49.23% 0.0645 -0.1645)
OKLCHoklch(49.23% 0.177 291.4)
XYZxyz(16.5748, 10.6683, 48.1900)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645BB #9ABB45
analogous
#455FBB #6645BB #A145BB
triadic
#6645BB #BB6645 #45BB66
tetradic
#6645BB #BB455F #9ABB45 #45BBA1
square
#6645BB #BB455F #9ABB45 #45BBA1
split-complementary
#6645BB #BBA145 #5FBB45
monochromatic
#352462 #4D348F #6645BB #8B72CB #B09FDC

Accessibility & contrast

On white

6.70
#6645BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6645BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645BB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645BB#FFFFFF#000000##FFFFFF
##6645BB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#4D6179
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6645bb;
/* rgb */ color: rgb(102, 69, 187);
/* oklch */ color: oklch(49.2% 0.177 291.4);
Tailwind
colors: {
  custom: {
    50: '#987ad0',
    500: '#6645bb',
    950: '#000000',
  },
}
SCSS
$custom: #6645bb;
$custom-light: #987ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6645bb",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 256.78,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.17672,
    "h": 291.4
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#6645BB
secondary
#BAC894
accent
#D652B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6645BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6645BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva