#6648EB#6648EB

#6648EB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.231 H 283.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6648EB
RGBrgb(102, 72, 235)
HSLhsl(251, 80%, 60%)
HSVhsv(251, 69%, 92%)
CMYKcmyk(56.6%, 69.4%, 0%, 7.8%)
CIE-LABlab(43.44, 54.40, -77.97)
CIE-LCHlch(43.44, 95.07, 304.90°)
OKLaboklab(53.61% 0.0552 -0.2244)
OKLCHoklch(53.61% 0.231 283.8)
XYZxyz(22.7877, 13.4563, 79.9777)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6648EB #CDEB48
analogous
#487BEB #6648EB #B848EB
triadic
#6648EB #EB6648 #48EB66
tetradic
#6648EB #EB487B #CDEB48 #48EBB8
square
#6648EB #EB487B #CDEB48 #48EBB8
split-complementary
#6648EB #EBB848 #7BEB48
monochromatic
#2D12A6 #3D18DE #6648EB #947FF1 #C2B6F7

Accessibility & contrast

On white

5.69
#6648EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6648EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6648EB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6648EB#FFFFFF#000000##FFFFFF
##6648EB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#1E7394
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6648eb;
/* rgb */ color: rgb(102, 72, 235);
/* oklch */ color: oklch(53.6% 0.231 283.8);
Tailwind
colors: {
  custom: {
    50: '#9e7ef3',
    500: '#6648eb',
    950: '#000000',
  },
}
SCSS
$custom: #6648eb;
$custom-light: #9e7ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6648eb",
  "rgb": {
    "r": 102,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 251.043,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.23113,
    "h": 283.8
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#6648EB
secondary
#DBE7A8
accent
#DD09B6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6648EB

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

Preview Lab → · Contrast checker → · Palette generator →

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