#6648DD#6648DD

#6648DD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.215 H 285.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6648DD
RGBrgb(102, 72, 221)
HSLhsl(252, 69%, 57%)
HSVhsv(252, 67%, 87%)
CMYKcmyk(53.8%, 67.4%, 0%, 13.3%)
CIE-LABlab(42.28, 50.34, -71.93)
CIE-LCHlch(42.28, 87.79, 304.98°)
OKLaboklab(52.41% 0.0575 -0.2067)
OKLCHoklch(52.41% 0.215 285.5)
XYZxyz(20.8441, 12.6788, 69.7415)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648DD #BFDD48
analogous
#4874DD #6648DD #B148DD
triadic
#6648DD #DD6648 #48DD66
tetradic
#6648DD #DD4874 #BFDD48 #48DDB1
square
#6648DD #DD4874 #BFDD48 #48DDB1
split-complementary
#6648DD #DDB148 #74DD48
monochromatic
#321B90 #4424C3 #6648DD #917CE7 #BCAFF0

Accessibility & contrast

On white

5.94
#6648DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6648DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648DD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648DD#FFFFFF#000000##FFFFFF
##6648DD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#336E8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6648dd;
/* rgb */ color: rgb(102, 72, 221);
/* oklch */ color: oklch(52.4% 0.215 285.5);
Tailwind
colors: {
  custom: {
    50: '#9c7de9',
    500: '#6648dd',
    950: '#000000',
  },
}
SCSS
$custom: #6648dd;
$custom-light: #9c7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6648dd",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 252.081,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.21458,
    "h": 285.5
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#6648DD
secondary
#D2DEA2
accent
#EC3CC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6648DD

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

Preview Lab → · Contrast checker → · Palette generator →

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