#6646E7#6646E7

#6646E7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.229 H 284.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6646E7
RGBrgb(102, 70, 231)
HSLhsl(252, 77%, 59%)
HSVhsv(252, 70%, 91%)
CMYKcmyk(55.8%, 69.7%, 0%, 9.4%)
CIE-LABlab(42.72, 54.29, -76.88)
CIE-LCHlch(42.72, 94.12, 305.23°)
OKLaboklab(52.99% 0.0575 -0.2213)
OKLCHoklch(52.99% 0.229 284.6)
XYZxyz(22.0891, 12.9733, 76.9260)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646E7 #C7E746
analogous
#4677E7 #6646E7 #B646E7
triadic
#6646E7 #E76646 #46E766
tetradic
#6646E7 #E74677 #C7E746 #46E7B6
square
#6646E7 #E74677 #C7E746 #46E7B6
split-complementary
#6646E7 #E7B646 #77E746
monochromatic
#30159E #401CD4 #6646E7 #937CEE #C0B2F5

Accessibility & contrast

On white

5.84
#6646E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6646E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646E7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646E7#FFFFFF#000000##FFFFFF
##6646E71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#0060E4
Tritanopia (blue-blind)
#267192
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6646e7;
/* rgb */ color: rgb(102, 70, 231);
/* oklch */ color: oklch(53.0% 0.229 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e7cf0',
    500: '#6646e7',
    950: '#000000',
  },
}
SCSS
$custom: #6646e7;
$custom-light: #9e7cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6646e7",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 251.925,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.22861,
    "h": 284.6
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#6646E7
secondary
#D7E4A5
accent
#F434CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6646E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6646E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva