#6643CA#6643CA

#6643CA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.198 H 289.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6643CA
RGBrgb(102, 67, 202)
HSLhsl(256, 56%, 53%)
HSVhsv(256, 67%, 79%)
CMYKcmyk(49.5%, 66.8%, 0%, 20.8%)
CIE-LABlab(39.75, 47.58, -65.11)
CIE-LCHlch(39.75, 80.65, 306.16°)
OKLaboklab(50.12% 0.0649 -0.1867)
OKLCHoklch(50.12% 0.198 289.2)
XYZxyz(18.1442, 11.1026, 57.0526)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643CA #A7CA43
analogous
#4363CA #6643CA #AA43CA
triadic
#6643CA #CA6643 #43CA66
tetradic
#6643CA #CA4363 #A7CA43 #43CAAA
square
#6643CA #CA4363 #A7CA43 #43CAAA
split-complementary
#6643CA #CAAA43 #63CA43
monochromatic
#362072 #4C2EA2 #6643CA #8D73D7 #B4A2E5

Accessibility & contrast

On white

6.52
#6643CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6643CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643CA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643CA#FFFFFF#000000##FFFFFF
##6643CA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#436581
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6643ca;
/* rgb */ color: rgb(102, 67, 202);
/* oklch */ color: oklch(50.1% 0.198 289.2);
Tailwind
colors: {
  custom: {
    50: '#9a79db',
    500: '#6643ca',
    950: '#000000',
  },
}
SCSS
$custom: #6643ca;
$custom-light: #9a79db;
$custom-dark: #000000;
JSON
{
  "hex": "#6643ca",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 255.556,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.19767,
    "h": 289.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#6643CA
secondary
#C2D297
accent
#DF48B8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6643CA

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

Preview Lab → · Contrast checker → · Palette generator →

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