#6646CB#6646CB

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

Color values

HEX#6646CB
RGBrgb(102, 70, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 66%, 80%)
CMYKcmyk(49.8%, 65.5%, 0%, 20.4%)
CIE-LABlab(40.44, 46.22, -64.58)
CIE-LCHlch(40.44, 79.42, 305.59°)
OKLaboklab(50.64% 0.0618 -0.1851)
OKLCHoklch(50.64% 0.195 288.5)
XYZxyz(18.4460, 11.5161, 57.7392)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646CB #ABCB46
analogous
#4668CB #6646CB #A846CB
triadic
#6646CB #CB6646 #46CB66
tetradic
#6646CB #CB4668 #ABCB46 #46CBA8
square
#6646CB #CB4668 #ABCB46 #46CBA8
split-complementary
#6646CB #CBA846 #68CB46
monochromatic
#352176 #4B2EA5 #6646CB #8E76D8 #B5A6E6

Accessibility & contrast

On white

6.36
#6646CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6646CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646CB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646CB#FFFFFF#000000##FFFFFF
##6646CB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#436782
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6646cb;
/* rgb */ color: rgb(102, 70, 203);
/* oklch */ color: oklch(50.6% 0.195 288.5);
Tailwind
colors: {
  custom: {
    50: '#9a7bdc',
    500: '#6646cb',
    950: '#000000',
  },
}
SCSS
$custom: #6646cb;
$custom-light: #9a7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6646cb",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 254.436,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.1952,
    "h": 288.5
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#6646CB
secondary
#C5D39A
accent
#DF48BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6646CB

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

Preview Lab → · Contrast checker → · Palette generator →

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