#6641DE#6641DE

#6641DE is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.224 H 286.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6641DE
RGBrgb(102, 65, 222)
HSLhsl(254, 70%, 56%)
HSVhsv(254, 71%, 87%)
CMYKcmyk(54.1%, 70.7%, 0%, 12.9%)
CIE-LABlab(41.02, 54.32, -74.55)
CIE-LCHlch(41.02, 92.24, 306.08°)
OKLaboklab(51.54% 0.0632 -0.2144)
OKLCHoklch(51.54% 0.224 286.4)
XYZxyz(20.5507, 11.8782, 70.3029)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641DE #B9DE41
analogous
#416BDE #6641DE #B541DE
triadic
#6641DE #DE6641 #41DE66
tetradic
#6641DE #DE416B #B9DE41 #41DEB5
square
#6641DE #DE416B #B9DE41 #41DEB5
split-complementary
#6641DE #DEB541 #6BDE41
monochromatic
#34188C #4721C0 #6641DE #9075E7 #BAA9F0

Accessibility & contrast

On white

6.22
#6641DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6641DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641DE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641DE#FFFFFF#000000##FFFFFF
##6641DE1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#005CDB
Tritanopia (blue-blind)
#326B8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6641de;
/* rgb */ color: rgb(102, 65, 222);
/* oklch */ color: oklch(51.5% 0.224 286.4);
Tailwind
colors: {
  custom: {
    50: '#9d79e9',
    500: '#6641de',
    950: '#000000',
  },
}
SCSS
$custom: #6641de;
$custom-light: #9d79e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6641de",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 254.14,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.22353,
    "h": 286.4
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#6641DE
secondary
#CEDE9D
accent
#ED3BC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6641DE

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

Preview Lab → · Contrast checker → · Palette generator →

#6641DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva