#6645D8#6645D8

#6645D8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.6% C 0.212 H 286.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6645D8
RGBrgb(102, 69, 216)
HSLhsl(253, 65%, 56%)
HSVhsv(253, 68%, 85%)
CMYKcmyk(52.8%, 68.1%, 0%, 15.3%)
CIE-LABlab(41.28, 50.51, -70.70)
CIE-LCHlch(41.28, 86.89, 305.54°)
OKLaboklab(51.57% 0.0609 -0.2031)
OKLCHoklch(51.57% 0.212 286.7)
XYZxyz(19.9986, 12.0379, 66.2222)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645D8 #B7D845
analogous
#456DD8 #6645D8 #AF45D8
triadic
#6645D8 #D86645 #45D866
tetradic
#6645D8 #D8456D #B7D845 #45D8AF
square
#6645D8 #D8456D #B7D845 #45D8AF
split-complementary
#6645D8 #D8AF45 #6DD845
monochromatic
#341C86 #4827B9 #6645D8 #9078E3 #B9AAED

Accessibility & contrast

On white

6.16
#6645D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6645D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645D8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645D8#FFFFFF#000000##FFFFFF
##6645D81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#386B89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6645d8;
/* rgb */ color: rgb(102, 69, 216);
/* oklch */ color: oklch(51.6% 0.212 286.7);
Tailwind
colors: {
  custom: {
    50: '#9c7be5',
    500: '#6645d8',
    950: '#000000',
  },
}
SCSS
$custom: #6645d8;
$custom-light: #9c7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6645d8",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 253.469,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.21206,
    "h": 286.7
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#6645D8
secondary
#CDDB9E
accent
#E840C2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6645D8

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

Preview Lab → · Contrast checker → · Palette generator →

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