#6648D9#6648D9

#6648D9 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.1% C 0.210 H 286.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6648D9
RGBrgb(102, 72, 217)
HSLhsl(252, 66%, 57%)
HSVhsv(252, 67%, 85%)
CMYKcmyk(53%, 66.8%, 0%, 14.9%)
CIE-LABlab(41.95, 49.17, -70.17)
CIE-LCHlch(41.95, 85.68, 305.02°)
OKLaboklab(52.08% 0.0581 -0.2016)
OKLCHoklch(52.08% 0.21 286.1)
XYZxyz(20.3175, 12.4682, 66.9682)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648D9 #BBD948
analogous
#4873D9 #6648D9 #AF48D9
triadic
#6648D9 #D96648 #48D966
tetradic
#6648D9 #D94873 #BBD948 #48D9AF
square
#6648D9 #D94873 #BBD948 #48D9AF
split-complementary
#6648D9 #D9AF48 #73D948
monochromatic
#331D8A #4627BD #6648D9 #907BE4 #BBADEE

Accessibility & contrast

On white

6.01
#6648D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6648D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648D9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648D9#FFFFFF#000000##FFFFFF
##6648D91.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#376D8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6648d9;
/* rgb */ color: rgb(102, 72, 217);
/* oklch */ color: oklch(52.1% 0.210 286.1);
Tailwind
colors: {
  custom: {
    50: '#9c7de6',
    500: '#6648d9',
    950: '#000000',
  },
}
SCSS
$custom: #6648d9;
$custom-light: #9c7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6648d9",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 252.414,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.20979,
    "h": 286.1
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#6648D9
secondary
#D0DCA1
accent
#E93FC6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6648D9

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

Preview Lab → · Contrast checker → · Palette generator →

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