#6648E1#6648E1

#6648E1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.219 H 285.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6648E1
RGBrgb(102, 72, 225)
HSLhsl(252, 72%, 58%)
HSVhsv(252, 68%, 88%)
CMYKcmyk(54.7%, 68%, 0%, 11.8%)
CIE-LABlab(42.60, 51.50, -73.67)
CIE-LCHlch(42.60, 89.88, 304.95°)
OKLaboklab(52.75% 0.0569 -0.2118)
OKLCHoklch(52.75% 0.219 285)
XYZxyz(21.3834, 12.8945, 72.5817)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648E1 #C3E148
analogous
#4876E1 #6648E1 #B348E1
triadic
#6648E1 #E16648 #48E166
tetradic
#6648E1 #E14876 #C3E148 #48E1B3
square
#6648E1 #E14876 #C3E148 #48E1B3
split-complementary
#6648E1 #E1B348 #76E148
monochromatic
#311996 #4221CB #6648E1 #927DEA #BEB1F2

Accessibility & contrast

On white

5.87
#6648E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6648E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648E1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648E1#FFFFFF#000000##FFFFFF
##6648E11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#2E708F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6648e1;
/* rgb */ color: rgb(102, 72, 225);
/* oklch */ color: oklch(52.7% 0.219 285.0);
Tailwind
colors: {
  custom: {
    50: '#9d7dec',
    500: '#6648e1',
    950: '#000000',
  },
}
SCSS
$custom: #6648e1;
$custom-light: #9d7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6648e1",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 251.765,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.21936,
    "h": 285
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#6648E1
secondary
#D5E1A4
accent
#EF39CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6648E1

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

Preview Lab → · Contrast checker → · Palette generator →

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