#6648CF#6648CF

#6648CF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.198 H 287.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6648CF
RGBrgb(102, 72, 207)
HSLhsl(253, 58%, 55%)
HSVhsv(253, 65%, 81%)
CMYKcmyk(50.7%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.16, 46.27, -65.71)
CIE-LCHlch(41.16, 80.37, 305.15°)
OKLaboklab(51.26% 0.0594 -0.1885)
OKLCHoklch(51.26% 0.198 287.5)
XYZxyz(19.0560, 11.9636, 60.3245)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648CF #B1CF48
analogous
#486ECF #6648CF #A948CF
triadic
#6648CF #CF6648 #48CF66
tetradic
#6648CF #CF486E #B1CF48 #48CFA9
square
#6648CF #CF486E #B1CF48 #48CFA9
split-complementary
#6648CF #CFA948 #6ECF48
monochromatic
#35217C #4A2DAD #6648CF #8F78DC #B7A9E8

Accessibility & contrast

On white

6.19
#6648CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6648CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648CF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648CF#FFFFFF#000000##FFFFFF
##6648CF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#3F6985
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6648cf;
/* rgb */ color: rgb(102, 72, 207);
/* oklch */ color: oklch(51.3% 0.198 287.5);
Tailwind
colors: {
  custom: {
    50: '#9a7ddf',
    500: '#6648cf',
    950: '#000000',
  },
}
SCSS
$custom: #6648cf;
$custom-light: #9a7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6648cf",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 253.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.19763,
    "h": 287.5
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#6648CF
secondary
#C9D69D
accent
#E246BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6648CF

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

Preview Lab → · Contrast checker → · Palette generator →

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