#6648CB#6648CB

#6648CB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.193 H 288.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6648CB
RGBrgb(102, 72, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(49.8%, 64.5%, 0%, 20.4%)
CIE-LABlab(40.85, 45.11, -63.91)
CIE-LCHlch(40.85, 78.22, 305.22°)
OKLaboklab(50.94% 0.0599 -0.1832)
OKLCHoklch(50.94% 0.193 288.1)
XYZxyz(18.5732, 11.7705, 57.7816)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648CB #ADCB48
analogous
#486CCB #6648CB #A748CB
triadic
#6648CB #CB6648 #48CB66
tetradic
#6648CB #CB486C #ADCB48 #48CBA7
square
#6648CB #CB486C #ADCB48 #48CBA7
split-complementary
#6648CB #CBA748 #6CCB48
monochromatic
#352277 #4B2FA6 #6648CB #8E78D9 #B6A7E6

Accessibility & contrast

On white

6.26
#6648CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6648CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648CB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648CB#FFFFFF#000000##FFFFFF
##6648CB1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#426883
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6648cb;
/* rgb */ color: rgb(102, 72, 203);
/* oklch */ color: oklch(50.9% 0.193 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a7ddc',
    500: '#6648cb',
    950: '#000000',
  },
}
SCSS
$custom: #6648cb;
$custom-light: #9a7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6648cb",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 253.74,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.19272,
    "h": 288.1
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#6648CB
secondary
#C7D39B
accent
#DF49BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6648CB

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

Preview Lab → · Contrast checker → · Palette generator →

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