#6648D2#6648D2

#6648D2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.5% C 0.201 H 287.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6648D2
RGBrgb(102, 72, 210)
HSLhsl(253, 61%, 55%)
HSVhsv(253, 66%, 82%)
CMYKcmyk(51.4%, 65.7%, 0%, 17.6%)
CIE-LABlab(41.39, 47.14, -67.06)
CIE-LCHlch(41.39, 81.97, 305.10°)
OKLaboklab(51.5% 0.0591 -0.1924)
OKLCHoklch(51.5% 0.201 287.1)
XYZxyz(19.4263, 12.1117, 62.2745)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648D2 #B4D248
analogous
#486FD2 #6648D2 #AB48D2
triadic
#6648D2 #D26648 #48D266
tetradic
#6648D2 #D2486F #B4D248 #48D2AB
square
#6648D2 #D2486F #B4D248 #48D2AB
split-complementary
#6648D2 #D2AB48 #6FD248
monochromatic
#342080 #492CB1 #6648D2 #8F79DE #B8AAEA

Accessibility & contrast

On white

6.14
#6648D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6648D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648D2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648D2#FFFFFF#000000##FFFFFF
##6648D21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#3D6A87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6648d2;
/* rgb */ color: rgb(102, 72, 210);
/* oklch */ color: oklch(51.5% 0.201 287.1);
Tailwind
colors: {
  custom: {
    50: '#9b7de1',
    500: '#6648d2',
    950: '#000000',
  },
}
SCSS
$custom: #6648d2;
$custom-light: #9b7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6648d2",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 253.043,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.20131,
    "h": 287.1
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#6648D2
secondary
#CBD89E
accent
#E444C1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6648D2

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

Preview Lab → · Contrast checker → · Palette generator →

#6648D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva