#6646CA#6646CA

#6646CA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.194 H 288.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6646CA
RGBrgb(102, 70, 202)
HSLhsl(255, 55%, 53%)
HSVhsv(255, 65%, 79%)
CMYKcmyk(49.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.36, 45.94, -64.13)
CIE-LCHlch(40.36, 78.88, 305.62°)
OKLaboklab(50.56% 0.062 -0.1838)
OKLCHoklch(50.56% 0.194 288.6)
XYZxyz(18.3272, 11.4686, 57.1136)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646CA #AACA46
analogous
#4668CA #6646CA #A846CA
triadic
#6646CA #CA6646 #46CA66
tetradic
#6646CA #CA4668 #AACA46 #46CAA8
square
#6646CA #CA4668 #AACA46 #46CAA8
split-complementary
#6646CA #CAA846 #68CA46
monochromatic
#352174 #4B2FA4 #6646CA #8D76D8 #B5A5E5

Accessibility & contrast

On white

6.38
#6646CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6646CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646CA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646CA#FFFFFF#000000##FFFFFF
##6646CA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#436682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6646ca;
/* rgb */ color: rgb(102, 70, 202);
/* oklch */ color: oklch(50.6% 0.194 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a7bdb',
    500: '#6646ca',
    950: '#000000',
  },
}
SCSS
$custom: #6646ca;
$custom-light: #9a7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6646ca",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 254.545,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.19398,
    "h": 288.6
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#6646CA
secondary
#C5D29A
accent
#DF49BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6646CA

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

Preview Lab → · Contrast checker → · Palette generator →

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