#6648E0#6648E0

#6648E0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.218 H 285.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6648E0
RGBrgb(102, 72, 224)
HSLhsl(252, 71%, 58%)
HSVhsv(252, 68%, 88%)
CMYKcmyk(54.5%, 67.9%, 0%, 12.2%)
CIE-LABlab(42.52, 51.21, -73.23)
CIE-LCHlch(42.52, 89.36, 304.96°)
OKLaboklab(52.66% 0.0571 -0.2106)
OKLCHoklch(52.66% 0.218 285.2)
XYZxyz(21.2473, 12.8401, 71.8654)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648E0 #C2E048
analogous
#4876E0 #6648E0 #B248E0
triadic
#6648E0 #E06648 #48E066
tetradic
#6648E0 #E04876 #C2E048 #48E0B2
square
#6648E0 #E04876 #C2E048 #48E0B2
split-complementary
#6648E0 #E0B248 #76E048
monochromatic
#311994 #4322C9 #6648E0 #927CE9 #BEB1F2

Accessibility & contrast

On white

5.89
#6648E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6648E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648E0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648E0#FFFFFF#000000##FFFFFF
##6648E01.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0060DD
Tritanopia (blue-blind)
#2F6F8E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6648e0;
/* rgb */ color: rgb(102, 72, 224);
/* oklch */ color: oklch(52.7% 0.218 285.2);
Tailwind
colors: {
  custom: {
    50: '#9d7deb',
    500: '#6648e0',
    950: '#000000',
  },
}
SCSS
$custom: #6648e0;
$custom-light: #9d7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#6648e0",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 251.842,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.21816,
    "h": 285.2
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#6648E0
secondary
#D4E0A4
accent
#EE3ACA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6648E0

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

Preview Lab → · Contrast checker → · Palette generator →

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