#6648CA#6648CA

#6648CA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.191 H 288.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6648CA
RGBrgb(102, 72, 202)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 64%, 79%)
CMYKcmyk(49.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.77, 44.82, -63.45)
CIE-LCHlch(40.77, 77.68, 305.24°)
OKLaboklab(50.86% 0.06 -0.1818)
OKLCHoklch(50.86% 0.191 288.3)
XYZxyz(18.4544, 11.7230, 57.1560)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648CA #ACCA48
analogous
#486BCA #6648CA #A748CA
triadic
#6648CA #CA6648 #48CA66
tetradic
#6648CA #CA486B #ACCA48 #48CAA7
square
#6648CA #CA486B #ACCA48 #48CAA7
split-complementary
#6648CA #CAA748 #6BCA48
monochromatic
#352276 #4B30A5 #6648CA #8E77D8 #B5A7E5

Accessibility & contrast

On white

6.28
#6648CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6648CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648CA#FFFFFF#000000##FFFFFF
##6648CA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#436882
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6648ca;
/* rgb */ color: rgb(102, 72, 202);
/* oklch */ color: oklch(50.9% 0.191 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a7ddb',
    500: '#6648ca',
    950: '#000000',
  },
}
SCSS
$custom: #6648ca;
$custom-light: #9a7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6648ca",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 253.846,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.19147,
    "h": 288.3
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#6648CA
secondary
#C6D39B
accent
#DE49BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6648CA

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

Preview Lab → · Contrast checker → · Palette generator →

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