#6643E6#6643E6

#6643E6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.231 H 285.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6643E6
RGBrgb(102, 67, 230)
HSLhsl(253, 77%, 58%)
HSVhsv(253, 71%, 90%)
CMYKcmyk(55.7%, 70.9%, 0%, 9.8%)
CIE-LABlab(42.08, 55.56, -77.37)
CIE-LCHlch(42.08, 95.25, 305.68°)
OKLaboklab(52.5% 0.0601 -0.2227)
OKLCHoklch(52.5% 0.231 285.1)
XYZxyz(21.7652, 12.5510, 76.1233)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643E6 #C3E643
analogous
#4372E6 #6643E6 #B743E6
triadic
#6643E6 #E66643 #43E666
tetradic
#6643E6 #E64372 #C3E643 #43E6B7
square
#6643E6 #E64372 #C3E643 #43E6B7
split-complementary
#6643E6 #E6B743 #72E643
monochromatic
#31149A #421CD0 #6643E6 #9279ED #BEAFF4

Accessibility & contrast

On white

5.98
#6643E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6643E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643E6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643E6#FFFFFF#000000##FFFFFF
##6643E61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#286F90
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6643e6;
/* rgb */ color: rgb(102, 67, 230);
/* oklch */ color: oklch(52.5% 0.231 285.1);
Tailwind
colors: {
  custom: {
    50: '#9e7aef',
    500: '#6643e6',
    950: '#000000',
  },
}
SCSS
$custom: #6643e6;
$custom-light: #9e7aef;
$custom-dark: #000000;
JSON
{
  "hex": "#6643e6",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 230
  },
  "hsl": {
    "h": 252.883,
    "s": 76.526,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.23063,
    "h": 285.1
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#6643E6
secondary
#D5E3A2
accent
#F335CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6643E6

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

Preview Lab → · Contrast checker → · Palette generator →

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