#6647CB#6647CB

#6647CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.194 H 288.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6647CB
RGBrgb(102, 71, 203)
HSLhsl(254, 56%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(49.8%, 65%, 0%, 20.4%)
CIE-LABlab(40.64, 45.67, -64.24)
CIE-LCHlch(40.64, 78.82, 305.41°)
OKLaboklab(50.79% 0.0609 -0.1842)
OKLCHoklch(50.79% 0.194 288.3)
XYZxyz(18.5091, 11.6422, 57.7602)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647CB #ACCB47
analogous
#476ACB #6647CB #A847CB
triadic
#6647CB #CB6647 #47CB66
tetradic
#6647CB #CB476A #ACCB47 #47CBA8
square
#6647CB #CB476A #ACCB47 #47CBA8
split-complementary
#6647CB #CBA847 #6ACB47
monochromatic
#352176 #4B2FA6 #6647CB #8E77D8 #B5A6E6

Accessibility & contrast

On white

6.31
#6647CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6647CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647CB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647CB#FFFFFF#000000##FFFFFF
##6647CB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#426783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6647cb;
/* rgb */ color: rgb(102, 71, 203);
/* oklch */ color: oklch(50.8% 0.194 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a7cdc',
    500: '#6647cb',
    950: '#000000',
  },
}
SCSS
$custom: #6647cb;
$custom-light: #9a7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6647cb",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 254.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50789,
    "c": 0.19397,
    "h": 288.3
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#6647CB
secondary
#C6D39B
accent
#DF49BC
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6647CB

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

Preview Lab → · Contrast checker → · Palette generator →

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