#6645D2#6645D2

#6645D2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.1% C 0.205 H 287.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6645D2
RGBrgb(102, 69, 210)
HSLhsl(254, 61%, 55%)
HSVhsv(254, 67%, 82%)
CMYKcmyk(51.4%, 67.1%, 0%, 17.6%)
CIE-LABlab(40.79, 48.78, -68.05)
CIE-LCHlch(40.79, 83.73, 305.64°)
OKLaboklab(51.07% 0.0619 -0.1953)
OKLCHoklch(51.07% 0.205 287.6)
XYZxyz(19.2370, 11.7332, 62.2114)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645D2 #B1D245
analogous
#456AD2 #6645D2 #AD45D2
triadic
#6645D2 #D26645 #45D266
tetradic
#6645D2 #D2456A #B1D245 #45D2AD
square
#6645D2 #D2456A #B1D245 #45D2AD
split-complementary
#6645D2 #D2AD45 #6AD245
monochromatic
#351F7E #4A2AAF #6645D2 #8F76DE #B7A8EA

Accessibility & contrast

On white

6.27
#6645D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6645D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645D2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645D2#FFFFFF#000000##FFFFFF
##6645D21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#3D6986
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6645d2;
/* rgb */ color: rgb(102, 69, 210);
/* oklch */ color: oklch(51.1% 0.205 287.6);
Tailwind
colors: {
  custom: {
    50: '#9b7be1',
    500: '#6645d2',
    950: '#000000',
  },
}
SCSS
$custom: #6645d2;
$custom-light: #9b7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#6645d2",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 254.043,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.2049,
    "h": 287.6
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#6645D2
secondary
#C9D79C
accent
#E444BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6645D2

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

Preview Lab → · Contrast checker → · Palette generator →

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