#6647DB#6647DB

#6647DB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.213 H 286.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6647DB
RGBrgb(102, 71, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53.4%, 67.6%, 0%, 14.1%)
CIE-LABlab(41.91, 50.30, -71.37)
CIE-LCHlch(41.91, 87.32, 305.17°)
OKLaboklab(52.1% 0.0587 -0.2051)
OKLCHoklch(52.1% 0.213 286)
XYZxyz(20.5151, 12.4446, 68.3252)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6647DB #BCDB47
analogous
#4772DB #6647DB #B047DB
triadic
#6647DB #DB6647 #47DB66
tetradic
#6647DB #DB4772 #BCDB47 #47DBB0
square
#6647DB #DB4772 #BCDB47 #47DBB0
split-complementary
#6647DB #DBB047 #72DB47
monochromatic
#331B8C #4625BF #6647DB #917AE5 #BBADEF

Accessibility & contrast

On white

6.02
#6647DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6647DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6647DB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6647DB#FFFFFF#000000##FFFFFF
##6647DB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#356D8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6647db;
/* rgb */ color: rgb(102, 71, 219);
/* oklch */ color: oklch(52.1% 0.213 286.0);
Tailwind
colors: {
  custom: {
    50: '#9c7ce7',
    500: '#6647db',
    950: '#000000',
  },
}
SCSS
$custom: #6647db;
$custom-light: #9c7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6647db",
  "rgb": {
    "r": 102,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 252.568,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.21334,
    "h": 286
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#6647DB
secondary
#D0DDA1
accent
#EA3EC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6647DB

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

Preview Lab → · Contrast checker → · Palette generator →

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