#6646DF#6646DF

#6646DF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.219 H 285.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6646DF
RGBrgb(102, 70, 223)
HSLhsl(253, 71%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(54.3%, 68.6%, 0%, 12.5%)
CIE-LABlab(42.05, 51.99, -73.44)
CIE-LCHlch(42.05, 89.98, 305.30°)
OKLaboklab(52.3% 0.0589 -0.2112)
OKLCHoklch(52.3% 0.219 285.6)
XYZxyz(20.9849, 12.5316, 71.1108)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646DF #BFDF46
analogous
#4673DF #6646DF #B346DF
triadic
#6646DF #DF6646 #46DF66
tetradic
#6646DF #DF4673 #BFDF46 #46DFB3
square
#6646DF #DF4673 #BFDF46 #46DFB3
split-complementary
#6646DF #DFB346 #73DF46
monochromatic
#321991 #4422C6 #6646DF #917AE8 #BCAEF1

Accessibility & contrast

On white

5.99
#6646DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6646DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646DF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646DF#FFFFFF#000000##FFFFFF
##6646DF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005FDC
Tritanopia (blue-blind)
#316E8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6646df;
/* rgb */ color: rgb(102, 70, 223);
/* oklch */ color: oklch(52.3% 0.219 285.6);
Tailwind
colors: {
  custom: {
    50: '#9d7cea',
    500: '#6646df',
    950: '#000000',
  },
}
SCSS
$custom: #6646df;
$custom-light: #9d7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6646df",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 252.549,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.21923,
    "h": 285.6
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#6646DF
secondary
#D2DFA2
accent
#ED3BC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6646DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6646DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva