#6648D8#6648D8

#6648D8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.209 H 286.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6648D8
RGBrgb(102, 72, 216)
HSLhsl(253, 65%, 56%)
HSVhsv(253, 67%, 85%)
CMYKcmyk(52.8%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.87, 48.88, -69.73)
CIE-LCHlch(41.87, 85.16, 305.03°)
OKLaboklab(51.99% 0.0583 -0.2003)
OKLCHoklch(51.99% 0.209 286.2)
XYZxyz(20.1878, 12.4163, 66.2853)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648D8 #BAD848
analogous
#4872D8 #6648D8 #AE48D8
triadic
#6648D8 #D86648 #48D866
tetradic
#6648D8 #D84872 #BAD848 #48D8AE
square
#6648D8 #D84872 #BAD848 #48D8AE
split-complementary
#6648D8 #D8AE48 #72D848
monochromatic
#331D89 #4628BB #6648D8 #907AE3 #BAADEE

Accessibility & contrast

On white

6.03
#6648D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6648D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648D8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648D8#FFFFFF#000000##FFFFFF
##6648D81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#386C8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6648d8;
/* rgb */ color: rgb(102, 72, 216);
/* oklch */ color: oklch(52.0% 0.209 286.2);
Tailwind
colors: {
  custom: {
    50: '#9c7de5',
    500: '#6648d8',
    950: '#000000',
  },
}
SCSS
$custom: #6648d8;
$custom-light: #9c7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6648d8",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 252.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.20858,
    "h": 286.2
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#6648D8
secondary
#CFDBA0
accent
#E840C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6648D8

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

Preview Lab → · Contrast checker → · Palette generator →

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