#6643CB#6643CB

#6643CB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.199 H 289.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6643CB
RGBrgb(102, 67, 203)
HSLhsl(255, 57%, 53%)
HSVhsv(255, 67%, 80%)
CMYKcmyk(49.8%, 67%, 0%, 20.4%)
CIE-LABlab(39.83, 47.87, -65.56)
CIE-LCHlch(39.83, 81.18, 306.13°)
OKLaboklab(50.21% 0.0648 -0.188)
OKLCHoklch(50.21% 0.199 289)
XYZxyz(18.2630, 11.1501, 57.6782)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643CB #A8CB43
analogous
#4364CB #6643CB #AA43CB
triadic
#6643CB #CB6643 #43CB66
tetradic
#6643CB #CB4364 #A8CB43 #43CBAA
square
#6643CB #CB4364 #A8CB43 #43CBAA
split-complementary
#6643CB #CBAA43 #64CB43
monochromatic
#362074 #4C2DA4 #6643CB #8D73D8 #B4A3E6

Accessibility & contrast

On white

6.50
#6643CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6643CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643CB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643CB#FFFFFF#000000##FFFFFF
##6643CB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#436581
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6643cb;
/* rgb */ color: rgb(102, 67, 203);
/* oklch */ color: oklch(50.2% 0.199 289.0);
Tailwind
colors: {
  custom: {
    50: '#9a79dc',
    500: '#6643cb',
    950: '#000000',
  },
}
SCSS
$custom: #6643cb;
$custom-light: #9a79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6643cb",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 255.441,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.19888,
    "h": 289
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#6643CB
secondary
#C3D298
accent
#E048B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6643CB

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

Preview Lab → · Contrast checker → · Palette generator →

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