#6645BC#6645BC

#6645BC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.178 H 291.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6645BC
RGBrgb(102, 69, 188)
HSLhsl(257, 47%, 50%)
HSVhsv(257, 63%, 74%)
CMYKcmyk(45.7%, 63.3%, 0%, 26.3%)
CIE-LABlab(39.09, 42.49, -58.03)
CIE-LCHlch(39.09, 71.92, 306.21°)
OKLaboklab(49.31% 0.0644 -0.1659)
OKLCHoklch(49.31% 0.178 291.2)
XYZxyz(16.6822, 10.7113, 48.7557)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645BC #9BBC45
analogous
#455FBC #6645BC #A245BC
triadic
#6645BC #BC6645 #45BC66
tetradic
#6645BC #BC455F #9BBC45 #45BCA2
square
#6645BC #BC455F #9BBC45 #45BCA2
split-complementary
#6645BC #BCA245 #5FBC45
monochromatic
#352463 #4D3490 #6645BC #8B72CC #B09FDC

Accessibility & contrast

On white

6.68
#6645BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6645BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645BC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645BC#FFFFFF#000000##FFFFFF
##6645BC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#4C617A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6645bc;
/* rgb */ color: rgb(102, 69, 188);
/* oklch */ color: oklch(49.3% 0.178 291.2);
Tailwind
colors: {
  custom: {
    50: '#987ad1',
    500: '#6645bc',
    950: '#000000',
  },
}
SCSS
$custom: #6645bc;
$custom-light: #987ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6645bc",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 256.639,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49309,
    "c": 0.17797,
    "h": 291.2
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#6645BC
secondary
#BAC994
accent
#D751B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6645BC

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

Preview Lab → · Contrast checker → · Palette generator →

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