#6647CA#6647CA

#6647CA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.193 H 288.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6647CA
RGBrgb(102, 71, 202)
HSLhsl(254, 55%, 54%)
HSVhsv(254, 65%, 79%)
CMYKcmyk(49.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.56, 45.38, -63.79)
CIE-LCHlch(40.56, 78.28, 305.43°)
OKLaboklab(50.71% 0.061 -0.1828)
OKLCHoklch(50.71% 0.193 288.4)
XYZxyz(18.3903, 11.5947, 57.1347)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647CA #ABCA47
analogous
#4769CA #6647CA #A747CA
triadic
#6647CA #CA6647 #47CA66
tetradic
#6647CA #CA4769 #ABCA47 #47CAA7
square
#6647CA #CA4769 #ABCA47 #47CAA7
split-complementary
#6647CA #CAA747 #69CA47
monochromatic
#352275 #4B2FA4 #6647CA #8E77D8 #B5A6E5

Accessibility & contrast

On white

6.33
#6647CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6647CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647CA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647CA#FFFFFF#000000##FFFFFF
##6647CA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#436782
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6647ca;
/* rgb */ color: rgb(102, 71, 202);
/* oklch */ color: oklch(50.7% 0.193 288.4);
Tailwind
colors: {
  custom: {
    50: '#9a7cdb',
    500: '#6647ca',
    950: '#000000',
  },
}
SCSS
$custom: #6647ca;
$custom-light: #9a7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6647ca",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 254.198,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.19274,
    "h": 288.4
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#6647CA
secondary
#C5D29A
accent
#DF49BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6647CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6647CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva