#6643E7#6643E7

#6643E7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.232 H 285.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6643E7
RGBrgb(102, 67, 231)
HSLhsl(253, 77%, 58%)
HSVhsv(253, 71%, 91%)
CMYKcmyk(55.8%, 71%, 0%, 9.4%)
CIE-LABlab(42.17, 55.84, -77.80)
CIE-LCHlch(42.17, 95.76, 305.67°)
OKLaboklab(52.59% 0.0599 -0.2239)
OKLCHoklch(52.59% 0.232 285)
XYZxyz(21.9061, 12.6073, 76.8650)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643E7 #C4E743
analogous
#4372E7 #6643E7 #B843E7
triadic
#6643E7 #E76643 #43E766
tetradic
#6643E7 #E74372 #C4E743 #43E7B8
square
#6643E7 #E74372 #C4E743 #43E7B8
split-complementary
#6643E7 #E7B843 #72E743
monochromatic
#31149C #421BD2 #6643E7 #9279EE #BEB0F5

Accessibility & contrast

On white

5.96
#6643E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6643E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643E7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643E7#FFFFFF#000000##FFFFFF
##6643E71.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#266F91
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6643e7;
/* rgb */ color: rgb(102, 67, 231);
/* oklch */ color: oklch(52.6% 0.232 285.0);
Tailwind
colors: {
  custom: {
    50: '#9e7af0',
    500: '#6643e7',
    950: '#000000',
  },
}
SCSS
$custom: #6643e7;
$custom-light: #9e7af0;
$custom-dark: #000000;
JSON
{
  "hex": "#6643e7",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 231
  },
  "hsl": {
    "h": 252.805,
    "s": 77.358,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.23179,
    "h": 285
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#6643E7
secondary
#D6E3A2
accent
#F434CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6643E7

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

Preview Lab → · Contrast checker → · Palette generator →

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