#6645D6#6645D6

#6645D6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.210 H 287.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6645D6
RGBrgb(102, 69, 214)
HSLhsl(254, 64%, 55%)
HSVhsv(254, 68%, 84%)
CMYKcmyk(52.3%, 67.8%, 0%, 16.1%)
CIE-LABlab(41.11, 49.93, -69.82)
CIE-LCHlch(41.11, 85.84, 305.57°)
OKLaboklab(51.4% 0.0612 -0.2005)
OKLCHoklch(51.4% 0.21 287)
XYZxyz(19.7416, 11.9351, 64.8688)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645D6 #B5D645
analogous
#456CD6 #6645D6 #AE45D6
triadic
#6645D6 #D66645 #45D666
tetradic
#6645D6 #D6456C #B5D645 #45D6AE
square
#6645D6 #D6456C #B5D645 #45D6AE
split-complementary
#6645D6 #D6AE45 #6CD645
monochromatic
#341D84 #4828B6 #6645D6 #8F77E1 #B8A9EC

Accessibility & contrast

On white

6.20
#6645D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6645D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645D6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645D6#FFFFFF#000000##FFFFFF
##6645D61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#3A6A88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6645d6;
/* rgb */ color: rgb(102, 69, 214);
/* oklch */ color: oklch(51.4% 0.210 287.0);
Tailwind
colors: {
  custom: {
    50: '#9c7be4',
    500: '#6645d6',
    950: '#000000',
  },
}
SCSS
$custom: #6645d6;
$custom-light: #9c7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6645d6",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 253.655,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.514,
    "c": 0.20968,
    "h": 287
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#6645D6
secondary
#CCDA9D
accent
#E741C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6645D6

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

Preview Lab → · Contrast checker → · Palette generator →

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