#6645DE#6645DE

#6645DE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.219 H 285.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6645DE
RGBrgb(102, 69, 222)
HSLhsl(253, 70%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(54.1%, 68.9%, 0%, 12.9%)
CIE-LABlab(41.77, 52.23, -73.32)
CIE-LCHlch(41.77, 90.02, 305.47°)
OKLaboklab(52.08% 0.0599 -0.2108)
OKLCHoklch(52.08% 0.219 285.9)
XYZxyz(20.7885, 12.3538, 70.3822)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645DE #BDDE45
analogous
#4571DE #6645DE #B245DE
triadic
#6645DE #DE6645 #45DE66
tetradic
#6645DE #DE4571 #BDDE45 #45DEB2
square
#6645DE #DE4571 #BDDE45 #45DEB2
split-complementary
#6645DE #DEB245 #71DE45
monochromatic
#33198F #4523C3 #6645DE #9179E7 #BCADF0

Accessibility & contrast

On white

6.05
#6645DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6645DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645DE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645DE#FFFFFF#000000##FFFFFF
##6645DE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#326D8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6645de;
/* rgb */ color: rgb(102, 69, 222);
/* oklch */ color: oklch(52.1% 0.219 285.9);
Tailwind
colors: {
  custom: {
    50: '#9d7be9',
    500: '#6645de',
    950: '#000000',
  },
}
SCSS
$custom: #6645de;
$custom-light: #9d7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6645de",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 252.941,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.21916,
    "h": 285.9
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#6645DE
secondary
#D1DFA0
accent
#ED3BC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6645DE

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

Preview Lab → · Contrast checker → · Palette generator →

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