#6648EF#6648EF

#6648EF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.236 H 283.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6648EF
RGBrgb(102, 72, 239)
HSLhsl(251, 84%, 61%)
HSVhsv(251, 70%, 94%)
CMYKcmyk(57.3%, 69.9%, 0%, 6.3%)
CIE-LABlab(43.78, 55.55, -79.66)
CIE-LCHlch(43.78, 97.12, 304.89°)
OKLaboklab(53.96% 0.0545 -0.2294)
OKLCHoklch(53.96% 0.236 283.4)
XYZxyz(23.3720, 13.6900, 83.0555)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648EF #D1EF48
analogous
#487DEF #6648EF #B948EF
triadic
#6648EF #EF6648 #48EF66
tetradic
#6648EF #EF487D #D1EF48 #48EFB9
square
#6648EF #EF487D #D1EF48 #48EFB9
split-complementary
#6648EF #EFB948 #7DEF48
monochromatic
#2C0FAD #3A14E6 #6648EF #9580F4 #C4B9F9

Accessibility & contrast

On white

5.62
#6648EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6648EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648EF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648EF#FFFFFF#000000##FFFFFF
##6648EF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#157597
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6648ef;
/* rgb */ color: rgb(102, 72, 239);
/* oklch */ color: oklch(54.0% 0.236 283.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ef5',
    500: '#6648ef',
    950: '#000000',
  },
}
SCSS
$custom: #6648ef;
$custom-light: #9f7ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6648ef",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 250.778,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.23579,
    "h": 283.4
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

primary
#6648EF
secondary
#DEE9AA
accent
#E005B9
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6648EF

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

Preview Lab → · Contrast checker → · Palette generator →

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