#6648E6#6648E6

#6648E6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.225 H 284.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6648E6
RGBrgb(102, 72, 230)
HSLhsl(251, 76%, 59%)
HSVhsv(251, 69%, 90%)
CMYKcmyk(55.7%, 68.7%, 0%, 9.8%)
CIE-LABlab(43.02, 52.95, -75.83)
CIE-LCHlch(43.02, 92.48, 304.92°)
OKLaboklab(53.17% 0.0561 -0.2182)
OKLCHoklch(53.17% 0.225 284.4)
XYZxyz(22.0754, 13.1714, 76.2267)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648E6 #C8E648
analogous
#4879E6 #6648E6 #B548E6
triadic
#6648E6 #E66648 #48E666
tetradic
#6648E6 #E64879 #C8E648 #48E6B5
square
#6648E6 #E64879 #C8E648 #48E6B5
split-complementary
#6648E6 #E6B548 #79E648
monochromatic
#2F169E #401DD4 #6648E6 #937EED #C0B4F5

Accessibility & contrast

On white

5.78
#6648E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6648E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648E6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648E6#FFFFFF#000000##FFFFFF
##6648E61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#277292
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6648e6;
/* rgb */ color: rgb(102, 72, 230);
/* oklch */ color: oklch(53.2% 0.225 284.4);
Tailwind
colors: {
  custom: {
    50: '#9e7def',
    500: '#6648e6',
    950: '#000000',
  },
}
SCSS
$custom: #6648e6;
$custom-light: #9e7def;
$custom-dark: #000000;
JSON
{
  "hex": "#6648e6",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 251.392,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.22527,
    "h": 284.4
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#6648E6
secondary
#D8E4A6
accent
#F335CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6648E6

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

Preview Lab → · Contrast checker → · Palette generator →

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