#6643CE#6643CE

#6643CE is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.202 H 288.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6643CE
RGBrgb(102, 67, 206)
HSLhsl(255, 59%, 54%)
HSVhsv(255, 67%, 81%)
CMYKcmyk(50.5%, 67.5%, 0%, 19.2%)
CIE-LABlab(40.07, 48.72, -66.91)
CIE-LCHlch(40.07, 82.77, 306.06°)
OKLaboklab(50.45% 0.0643 -0.192)
OKLCHoklch(50.45% 0.202 288.5)
XYZxyz(18.6240, 11.2945, 59.5793)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643CE #ABCE43
analogous
#4365CE #6643CE #AB43CE
triadic
#6643CE #CE6643 #43CE66
tetradic
#6643CE #CE4365 #ABCE43 #43CEAB
square
#6643CE #CE4365 #ABCE43 #43CEAB
split-complementary
#6643CE #CEAB43 #65CE43
monochromatic
#351F77 #4B2CA8 #6643CE #8E74DB #B5A4E7

Accessibility & contrast

On white

6.44
#6643CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6643CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643CE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643CE#FFFFFF#000000##FFFFFF
##6643CE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#416683
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6643ce;
/* rgb */ color: rgb(102, 67, 206);
/* oklch */ color: oklch(50.5% 0.202 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b7ade',
    500: '#6643ce',
    950: '#000000',
  },
}
SCSS
$custom: #6643ce;
$custom-light: #9b7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6643ce",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 255.108,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.20247,
    "h": 288.5
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#6643CE
secondary
#C5D499
accent
#E246BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6643CE

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

Preview Lab → · Contrast checker → · Palette generator →

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