#6648C7#6648C7

#6648C7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.188 H 288.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6648C7
RGBrgb(102, 72, 199)
HSLhsl(254, 53%, 53%)
HSVhsv(254, 64%, 78%)
CMYKcmyk(48.7%, 63.8%, 0%, 22%)
CIE-LABlab(40.54, 43.95, -62.08)
CIE-LCHlch(40.54, 76.07, 305.30°)
OKLaboklab(50.62% 0.0603 -0.1778)
OKLCHoklch(50.62% 0.188 288.7)
XYZxyz(18.1027, 11.5823, 55.3035)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648C7 #A9C748
analogous
#4869C7 #6648C7 #A548C7
triadic
#6648C7 #C76648 #48C766
tetradic
#6648C7 #C74869 #A9C748 #48C7A5
square
#6648C7 #C74869 #A9C748 #48C7A5
split-complementary
#6648C7 #C7A548 #69C748
monochromatic
#352372 #4B31A1 #6648C7 #8D77D5 #B4A6E4

Accessibility & contrast

On white

6.33
#6648C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6648C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648C7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648C7#FFFFFF#000000##FFFFFF
##6648C71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#456681
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6648c7;
/* rgb */ color: rgb(102, 72, 199);
/* oklch */ color: oklch(50.6% 0.188 288.7);
Tailwind
colors: {
  custom: {
    50: '#997dd9',
    500: '#6648c7',
    950: '#000000',
  },
}
SCSS
$custom: #6648c7;
$custom-light: #997dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6648c7",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 254.173,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.18776,
    "h": 288.7
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#6648C7
secondary
#C4D19A
accent
#DD4BBA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6648C7

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

Preview Lab → · Contrast checker → · Palette generator →

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